]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Enabled more details at smartctrl webif output
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 6 Sep 2009 18:20:08 +0000 (20:20 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 6 Sep 2009 18:20:08 +0000 (20:20 +0200)
src/misc-progs/smartctrl.c

index 5715fd7544010be6e680e741f1007cf8df65d376..945c279f50164183ff4302af134c4ee633a86e73 100644 (file)
@@ -36,7 +36,7 @@ int main(int argc, char *argv[]) {
                 exit(1);
        }
 
-        sprintf(command, "smartctl -iHA /dev/%s", argv[1]);
+        sprintf(command, "smartctl -x /dev/%s", argv[1]);
         safe_system(command);
 
         return 0;