diff options
Diffstat (limited to 'login/utmp.c')
-rw-r--r-- | login/utmp.c | 2 |
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; } |