summaryrefslogtreecommitdiff
path: root/src/shared/watchdog.h
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2021-09-15 09:14:17 +0200
committerFranck Bui <fbui@suse.com>2021-09-15 12:14:53 +0200
commitbcc3a1830ea01a8c4b6cb529e33568e86d69eaf0 (patch)
treed55a4e34bf9326777c31fdbe2508ddbc5333236a /src/shared/watchdog.h
parentd74965e6fe583562ebaf0767da6325a72d11643a (diff)
downloadsystemd-bcc3a1830ea01a8c4b6cb529e33568e86d69eaf0.tar.gz
watchdog: constify watchdog_set_device() parameter
Diffstat (limited to 'src/shared/watchdog.h')
-rw-r--r--src/shared/watchdog.h2
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);