diff options
author | ed <ed@FreeBSD.org> | 2011-02-19 11:31:56 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-02-19 11:31:56 +0000 |
commit | e01efc1924ecd6d346b221159d57d95c60a50b5a (patch) | |
tree | 1be410eb0b78a98def071fc801e4f657357943b9 /lib/libc/gen/utxdb.c | |
parent | 9d394a27626cd384de1ddfaeb33001d5fe0526a2 (diff) | |
download | FreeBSD-src-e01efc1924ecd6d346b221159d57d95c60a50b5a.zip FreeBSD-src-e01efc1924ecd6d346b221159d57d95c60a50b5a.tar.gz |
Properly styleify utmpx code and document error codes in man page.
Submitted by: Garrett Cooper
Diffstat (limited to 'lib/libc/gen/utxdb.c')
-rw-r--r-- | lib/libc/gen/utxdb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/gen/utxdb.c b/lib/libc/gen/utxdb.c index 6a85c05..743629d 100644 --- a/lib/libc/gen/utxdb.c +++ b/lib/libc/gen/utxdb.c @@ -132,9 +132,8 @@ futx_to_utx(const struct futx *fu) ut = calloc(1, sizeof *ut); if (ut == NULL) return (NULL); - } else { + } else memset(ut, 0, sizeof *ut); - } switch (fu->fu_type) { case BOOT_TIME: |