Minor refactor of error/debug messages

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-09-08 17:11:27 +02:00
1 parent 19b81cf434
commit 4b4572de4d
8 files changed
+26 -26

No files matched your search

+2 -2
View File
@@ -45,14 +45,14 @@ int tty_register(char *line)
char *runlevels = NULL, *term = NULL;
if (!line) {
_e("Invalid input argument.");
_e("Invalid input argument");
return errno = EINVAL;
}
cmd = strtok(line, " ");
if (!cmd) {
incomplete:
_e("Incomplete tty, cannot register.");
_e("Incomplete tty, cannot register");
return errno = EINVAL;
}