summaryrefslogtreecommitdiff
path: root/lib/readutmp.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-10-16 07:58:53 +0000
committerJim Meyering <jim@meyering.net>2003-10-16 07:58:53 +0000
commit26f4d6734276e4a306520a6bc789ba416eb54e6c (patch)
tree54462d81f76dd8a8facbf6ab52b7de9293e3b3bc /lib/readutmp.c
parentdb3888c86518fedefbd4f4338fe7d7e69b038536 (diff)
downloadcoreutils-26f4d6734276e4a306520a6bc789ba416eb54e6c.tar.xz
Fix indentation, from gnulib.
Diffstat (limited to 'lib/readutmp.c')
-rw-r--r--lib/readutmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/readutmp.c b/lib/readutmp.c
index 941d8c9f4..71a913df0 100644
--- a/lib/readutmp.c
+++ b/lib/readutmp.c
@@ -112,7 +112,7 @@ read_utmp (const char *filename, int *n_entries, STRUCT_UTMP **utmp_buf)
return 1;
}
size = file_stats.st_size;
- buf = xmalloc (size);
+ buf = xmalloc (size);
n_read = fread (buf, sizeof *buf, size / sizeof *buf, utmp);
if (ferror (utmp))
{
@@ -127,7 +127,7 @@ read_utmp (const char *filename, int *n_entries, STRUCT_UTMP **utmp_buf)
int e = errno;
free (buf);
errno = e;
- return 1;
+ return 1;
}
*n_entries = n_read;