]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/misc-progs/smartctrl.c
Removed smartctl ATA hardcoding.
[ipfire-2.x.git] / src / misc-progs / smartctrl.c
index 6b2bd1e200a85cb7c2433d20f6914032db4087f6..5715fd7544010be6e680e741f1007cf8df65d376 100644 (file)
@@ -36,7 +36,7 @@ int main(int argc, char *argv[]) {
                 exit(1);
        }
 
-        sprintf(command, "smartctl -iHA -d ata /dev/%s", argv[1]);
+        sprintf(command, "smartctl -iHA /dev/%s", argv[1]);
         safe_system(command);
 
         return 0;