summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-12-25 22:53:01 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-12-25 22:53:01 +0100
commitf76dbd03de65985c9f1d0e5675df3780b66a070b (patch)
treeb041d5d623a3a90b7216843ecd85f0f63b34fd35
parent6448d964c8c845219238800ec2171f96b938abc4 (diff)
Remove bogus parenthesis
* login/utmp.c (return_data): Remove bogus parenthesis.
-rw-r--r--login/utmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login/utmp.c b/login/utmp.c
index a872d371..e56f2c53 100644
--- a/login/utmp.c
+++ b/login/utmp.c
@@ -272,7 +272,7 @@ return_data(char *data, int data_len, char **buf, int *buf_len)
if (data_len > *buf_len)
{
*buf = mmap (0, data_len, PROT_READ|PROT_WRITE, MAP_ANON, 0, 0);
- if (*buf == (char *) -1))
+ if (*buf == (char *) -1)
return errno;
}