Change not implemented error to undefined.
[lttng-tools.git] / src / bin / lttng / commands / disable_events.c
index e6c8b2d06971a18b901f4eb7a4364ac194e0d22d..7446168d2a3d850bbf1f4a501ea605c4cffb9f01 100644 (file)
@@ -120,7 +120,7 @@ static int disable_events(char *session_name)
                dom.type = LTTNG_DOMAIN_UST;
        } else {
                ERR("Please specify a tracer (-k/--kernel or -u/--userspace)");
-               ret = CMD_NOT_IMPLEMENTED;
+               ret = CMD_UNDEFINED;
                goto error;
        }
 
@@ -152,7 +152,7 @@ static int disable_events(char *session_name)
 #if 0
                        if (opt_cmd_name != NULL || opt_pid) {
                                MSG("Only supporting tracing all UST processes (-u) for now.");
-                               ret = CMD_NOT_IMPLEMENTED;
+                               ret = CMD_UNDEFINED;
                                goto error;
                        }
 #endif
This page took 0.023549 seconds and 4 git commands to generate.