projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2cc35f
)
(correct_password): Correct HAVE_STRUCT_* name in #if guard
author
Jim Meyering
<jim@meyering.net>
Wed, 9 Feb 2000 11:57:01 +0000
(11:57 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 9 Feb 2000 11:57:01 +0000
(11:57 +0000)
to go along with corrected autoconf test: Reported by G Queri.
src/su.c
patch
|
blob
|
history
diff --git
a/src/su.c
b/src/su.c
index
0868f61
..
35a6b21
100644
(file)
--- a/
src/su.c
+++ b/
src/su.c
@@
-275,7
+275,7
@@
static int
correct_password (const struct passwd *pw)
{
char *unencrypted, *encrypted, *correct;
-#if HAVE_GETSPNAM && HAVE_STRUCT_
PASS
WD_SP_PWDP
+#if HAVE_GETSPNAM && HAVE_STRUCT_
SP
WD_SP_PWDP
/* Shadow passwd stuff for SVR3 and maybe other systems. */
struct spwd *sp = getspnam (pw->pw_name);