From 9859943d47552a32438c0a8b2a7f933d30f733f0 Mon Sep 17 00:00:00 2001 From: Wolfgang Corcoran-Mathe Date: Mon, 25 Aug 2014 15:37:13 +0100 Subject: [PATCH] Remove unnecessary newline output from su --- su.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)