summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/getpwent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c
index 2e2005f..052d150 100644
--- a/lib/libc/gen/getpwent.c
+++ b/lib/libc/gen/getpwent.c
@@ -268,7 +268,7 @@ __initdb()
#endif
return(1);
}
- if (!warned)
+ if (!warned++)
syslog(LOG_ERR, "%s: %m", p);
return(0);
}
OpenPOWER on IntegriCloud