diff options
author | Franck Bui <fbui@suse.com> | 2021-09-15 09:14:17 +0200 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2021-09-15 12:14:53 +0200 |
commit | bcc3a1830ea01a8c4b6cb529e33568e86d69eaf0 (patch) | |
tree | d55a4e34bf9326777c31fdbe2508ddbc5333236a /src/shared/watchdog.h | |
parent | d74965e6fe583562ebaf0767da6325a72d11643a (diff) | |
download | systemd-bcc3a1830ea01a8c4b6cb529e33568e86d69eaf0.tar.gz |
watchdog: constify watchdog_set_device() parameter
Diffstat (limited to 'src/shared/watchdog.h')
-rw-r--r-- | src/shared/watchdog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/watchdog.h b/src/shared/watchdog.h index 794176d310..6e99bbdf56 100644 --- a/src/shared/watchdog.h +++ b/src/shared/watchdog.h @@ -6,7 +6,7 @@ #include "time-util.h" #include "util.h" -int watchdog_set_device(char *path); +int watchdog_set_device(const char *path); int watchdog_setup(usec_t timeout); int watchdog_ping(void); void watchdog_close(bool disarm); |