summaryrefslogtreecommitdiffstats
path: root/lib/libskey
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1994-10-27 18:15:42 +0000
committerpst <pst@FreeBSD.org>1994-10-27 18:15:42 +0000
commitcda71a27698bb03dd3bfa2952684146f347d0921 (patch)
tree77054877b41d9d49571d5717ec3e87760890c565 /lib/libskey
parent8519540a3fd96350e657f327dcfc0947f8fc7f23 (diff)
downloadFreeBSD-src-cda71a27698bb03dd3bfa2952684146f347d0921.zip
FreeBSD-src-cda71a27698bb03dd3bfa2952684146f347d0921.tar.gz
Remove extra newline.
Diffstat (limited to 'lib/libskey')
-rw-r--r--lib/libskey/skey_getpass.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libskey/skey_getpass.c b/lib/libskey/skey_getpass.c
index 1608355..9fd05d0 100644
--- a/lib/libskey/skey_getpass.c
+++ b/lib/libskey/skey_getpass.c
@@ -33,8 +33,6 @@ int pwok;
fgets(buf, sizeof(buf), stdin);
rip(buf);
return (buf);
- }
-
- putchar('\n');
- return (pass);
+ } else
+ return (pass);
}
OpenPOWER on IntegriCloud