summaryrefslogtreecommitdiff
path: root/src/shutdown
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2021-09-06 12:12:06 +0200
committerFranck Bui <fbui@suse.com>2021-09-15 10:56:26 +0200
commit2628b98f0ca511a0d454940399aeaae156d16eeb (patch)
tree145b8ee5943c3f5d6737baf73496d3c9fd64599c /src/shutdown
parentae4a0ec45c97024387f150305ada14c9117116f4 (diff)
downloadsystemd-2628b98f0ca511a0d454940399aeaae156d16eeb.tar.gz
core: watchdog_set_timeout() doesn't need to return the timeout value used by the HW
The manager currently doesn't need it and if it does in the future an helper should probably be introduced instead.
Diffstat (limited to 'src/shutdown')
-rw-r--r--src/shutdown/shutdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shutdown/shutdown.c b/src/shutdown/shutdown.c
index a2ba96bf7c..2387e27985 100644
--- a/src/shutdown/shutdown.c
+++ b/src/shutdown/shutdown.c
@@ -387,7 +387,7 @@ int main(int argc, char *argv[]) {
log_warning_errno(r, "Failed to parse watchdog timeout '%s', ignoring: %m",
watchdog_usec);
else
- (void) watchdog_set_timeout(&usec);
+ (void) watchdog_set_timeout(usec);
}
/* Lock us into memory */