[hackers] [ubase] Use correction function name in error message || sin
commit 323f6be8ef0e084a3d468d48573ab9b9e7b94f66
Author: sin <sin_AT_2f30.org>
Date: Tue Jun 3 12:27:38 2014 +0100
Use correction function name in error message
diff --git a/login.c b/login.c
index a1cb0e2..4d74dd1 100644
--- a/login.c
+++ b/login.c
_AT_@ -121,6 +121,6 @@ dologin(struct passwd *pw, int preserve)
if (chdir(pw->pw_dir) < 0)
eprintf("chdir %s:", pw->pw_dir);
execlp(pw->pw_shell, pw->pw_shell, "-l", NULL);
- weprintf("execvp %s:", pw->pw_shell);
+ weprintf("execlp %s:", pw->pw_shell);
return (errno == ENOENT) ? 127 : 126;
}
Received on Tue Jun 03 2014 - 13:34:36 CEST
This archive was generated by hypermail 2.3.0
: Tue Jun 03 2014 - 13:36:08 CEST