diff options
author | J William Piggott | 2017-08-29 03:19:55 +0200 |
---|---|---|
committer | J William Piggott | 2017-09-03 18:34:03 +0200 |
commit | 5b8e46f7e7710e2bb88ff8e763997830c9494df2 (patch) | |
tree | 78ce420d8190f8307f4bc892291d37af0442ede9 /sys-utils/hwclock.c | |
parent | hwclock: don't always use hwclock_exit (diff) | |
download | kernel-qcow2-util-linux-5b8e46f7e7710e2bb88ff8e763997830c9494df2.tar.gz kernel-qcow2-util-linux-5b8e46f7e7710e2bb88ff8e763997830c9494df2.tar.xz kernel-qcow2-util-linux-5b8e46f7e7710e2bb88ff8e763997830c9494df2.zip |
hwclock: close hwaudit_fd unconditionally
Signed-off-by: J William Piggott <elseifthen@gmx.com>
Diffstat (limited to 'sys-utils/hwclock.c')
-rw-r--r-- | sys-utils/hwclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index e471fe1ae..9fb631f6f 100644 --- a/sys-utils/hwclock.c +++ b/sys-utils/hwclock.c @@ -1379,8 +1379,8 @@ hwclock_exit(const struct hwclock_control *ctl audit_log_user_message(hwaudit_fd, AUDIT_USYS_CONFIG, "op=change-system-time", NULL, NULL, NULL, status); - close(hwaudit_fd); } + close(hwaudit_fd); #endif exit(status); } |