commit 323f6be8ef0e084a3d468d48573ab9b9e7b94f66
parent b8dbf05ce7aee91e1cf646840f7cc7a8c7827ba9
Author: sin <sin@2f30.org>
Date: Tue, 3 Jun 2014 12:27:38 +0100
Use correction function name in error message
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/login.c b/login.c
@@ -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;
}