hwclock: close hwaudit_fd unconditionally

Signed-off-by: J William Piggott <elseifthen@gmx.com>
This commit is contained in:
J William Piggott 2017-08-28 21:19:55 -04:00
parent 652dcf5131
commit 5b8e46f7e7
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}