Fix error message on asprintf
[lttng-tools.git] / src / bin / lttng / commands / create.c
index 7a81641774a8161e21e7166cd9e4a28b2a3ff54b..e31bbf1c302a7f2479d5093f8427ca8d76994deb 100644 (file)
@@ -538,10 +538,9 @@ static int create_session(void)
                }
        } else {
                /* Generate a name */
-               /* TODO: use asprint */
                ret = asprintf(&base_session_name, DEFAULT_SESSION_NAME "-%s", datetime);
                if (ret < 0) {
-                       PERROR("Asprintf generated session name");
+                       PERROR("Asprintf session name");
                        goto error;
                }
                session_name_date = strdup(base_session_name);
This page took 0.026069 seconds and 5 git commands to generate.