Add unsupported error code to lttng cmd line
[lttng-tools.git] / src / bin / lttng / commands / enable_events.c
index 231dac3fbd50c4cdf295c89c20ca1038182cedd5..93ef0c5a4c090ab94e7ddc22e2acd8a803daff34 100644 (file)
@@ -497,7 +497,7 @@ static int enable_events(char *session_name)
 
                        if (opt_loglevel) {
                                MSG("Kernel loglevels are not supported.");
-                               ret = CMD_UNDEFINED;
+                               ret = CMD_UNSUPPORTED;
                                goto error;
                        }
 
@@ -530,7 +530,7 @@ static int enable_events(char *session_name)
                        case LTTNG_EVENT_SYSCALL:
                        default:
                                ERR("Event type not available for user-space tracing");
-                               ret = CMD_UNDEFINED;
+                               ret = CMD_UNSUPPORTED;
                                goto error;
                        }
 
This page took 0.024144 seconds and 5 git commands to generate.