I don't see a reason for this extra newline, but apologies in advance
if I'm just being thick.

--
Wolfgang Corcoran-Mathe
diff --git a/su.c b/su.c
index fe7e139..71268c1 100644
--- a/su.c
+++ b/su.c
@@ -64,7 +64,7 @@ main(int argc, char *argv[])
 
        uid = getuid();
        if (uid) {
-               pass = getpass("Password: "); putchar('\n');
+               pass = getpass("Password: ");
                if (!pass)
                        eprintf("getpass:");
                if (pw_check(pw, pass) <= 0)

Reply via email to