commit 323f6be8ef0e084a3d468d48573ab9b9e7b94f66
Author: sin <[email protected]>
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
@@ -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;
 }


Reply via email to