diff options
author | Jim Meyering <jim@meyering.net> | 2003-04-11 12:15:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-04-11 12:15:21 +0000 |
commit | 9def4be367ef67f9e5064ac5a0d20cf5e41f4285 (patch) | |
tree | 07541fe6b3134440ddd33a7802e18be73efc00ca /lib | |
parent | 2b64c3929ae5809c04ef3b4614ae47f743df19b3 (diff) | |
download | coreutils-9def4be367ef67f9e5064ac5a0d20cf5e41f4285.tar.xz |
Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/readutmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/readutmp.c b/lib/readutmp.c index d032675e6..a623f2c1c 100644 --- a/lib/readutmp.c +++ b/lib/readutmp.c @@ -116,7 +116,7 @@ read_utmp (const char *filename, int *n_entries, STRUCT_UTMP **utmp_buf) fstat (fileno (utmp), &file_stats); size = file_stats.st_size; if (size > 0) - buf = (STRUCT_UTMP *) xmalloc (size); + buf = xmalloc (size); else { fclose (utmp); |