[Pkg-shadow-commits] r2304 - upstream/trunk/src
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Sat Aug 30 18:33:37 UTC 2008
Author: nekral-guest
Date: 2008-08-30 18:33:37 +0000 (Sat, 30 Aug 2008)
New Revision: 2304
Modified:
upstream/trunk/src/faillog.c
Log:
Added brackets.
Modified: upstream/trunk/src/faillog.c
===================================================================
--- upstream/trunk/src/faillog.c 2008-08-30 18:33:13 UTC (rev 2303)
+++ upstream/trunk/src/faillog.c 2008-08-30 18:33:37 UTC (rev 2304)
@@ -168,9 +168,9 @@
{
uid_t uid;
- if (uflg)
+ if (uflg) {
reset_one (user);
- else {
+ } else {
struct passwd *pwent;
setpwent ();
@@ -198,10 +198,11 @@
}
fseeko (fail, (off_t) user * sizeof faillog, SEEK_SET);
- if (fread ((char *) &faillog, sizeof faillog, 1, fail) == 1)
+ if (fread ((char *) &faillog, sizeof faillog, 1, fail) == 1) {
print_one (&faillog, user);
- else
+ } else {
perror (FAILLOG_FILE);
+ }
} else {
for (uid = 0;
fread ((char *) &faillog, sizeof faillog, 1, fail) == 1;
More information about the Pkg-shadow-commits
mailing list