ubase

suckless linux base utils
git clone git://git.2f30.org/ubase.git
Log | Files | Refs | README | LICENSE

commit 2ea51e8cd8c60c22adfb0ad5bfd4e4e589a9605a
parent f628b72747a958c7fa3bffd3b57121787548025d
Author: sin <sin@2f30.org>
Date:   Thu Jun  5 17:16:35 +0100

Print errors on the next line

Diffstat:
login.c | 1+
su.c | 1+
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/login.c b/login.c @@ -68,6 +68,7 @@ main(int argc, char *argv[]) ioctl(STDIN_FILENO, TCFLSH, (void *)0); pass = getpass("Password: "); + putchar('\n'); if (!pass) eprintf("getpass:"); diff --git a/su.c b/su.c @@ -76,6 +76,7 @@ main(int argc, char *argv[]) uid = getuid(); if (uid) { pass = getpass("Password: "); + putchar('\n'); if (!pass) eprintf("getpass:"); }