Add unsupported error code to lttng cmd line
[lttng-tools.git] / src / bin / lttng / commands / enable_events.c
index b6c18e142ca6c3e7434e616db17f3499df636d45..ff9d29472c7986387949e449dba2db18180e71a9 100644 (file)
@@ -494,7 +494,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;
                        }
 
@@ -527,7 +527,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.024769 seconds and 4 git commands to generate.