chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtnl: message - verify that we read the pending message size from the kernel
[elogind.git]
/
src
/
shared
/
watchdog.c
diff --git
a/src/shared/watchdog.c
b/src/shared/watchdog.c
index ddbe7afd3cd957846e1aed29d954094c3ad4eece..ba9ad9be97aab488835c3e29443c33badf75f05f 100644
(file)
--- a/
src/shared/watchdog.c
+++ b/
src/shared/watchdog.c
@@
-164,6
+164,5
@@
void watchdog_close(bool disarm) {
}
}
- close_nointr_nofail(watchdog_fd);
- watchdog_fd = -1;
+ watchdog_fd = safe_close(watchdog_fd);
}