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 5715fd7..945c279 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;