smackctl: fixed status argument check
authorJarkko Sakkinen <jarkko.sakkinen@intel.com>
Sat, 8 Oct 2011 20:12:04 +0000 (23:12 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@intel.com>
Sat, 8 Oct 2011 20:12:04 +0000 (23:12 +0300)
tests/smackctl.c

index 62c0758..7d18ad6 100644 (file)
@@ -55,7 +55,7 @@ int main(int argc, char **argv)
        } else if (!strcmp(argv[1], "stop")) {
                if (stop())
                        return 1;
-       } else if (!strcmp(argv[1], "is_active")) {
+       } else if (!strcmp(argv[1], "status")) {
                if (is_active() < 0)
                        return 1;
        } else {