summaryrefslogtreecommitdiffstats
path: root/usr.bin/su
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
commita14d555c873398b14776ca4f2c33f9c69617afb9 (patch)
tree350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/su
parentf3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff)
downloadFreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip
FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/su')
-rw-r--r--usr.bin/su/Makefile2
-rw-r--r--usr.bin/su/su.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/su/Makefile b/usr.bin/su/Makefile
index 3c40389..1d0249d 100644
--- a/usr.bin/su/Makefile
+++ b/usr.bin/su/Makefile
@@ -6,7 +6,7 @@ SRCS= su.c
CFLAGS+=-DSKEY
LDADD= -lskey -lmd -lcrypt
-DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
+DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
|| defined(MAKE_EBONES))
diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c
index 6eef9ee..bbc4dc0 100644
--- a/usr.bin/su/su.c
+++ b/usr.bin/su/su.c
@@ -171,7 +171,7 @@ main(argc, argv)
if (*pwd->pw_passwd) {
#ifdef SKEY
p = skey_getpass("Password:", pwd, 1);
- if (strcmp(pwd->pw_passwd,
+ if (strcmp(pwd->pw_passwd,
skey_crypt(p, pwd->pw_passwd, pwd, 1))) {
#else
p = getpass("Password:");
OpenPOWER on IntegriCloud