summaryrefslogtreecommitdiffstats
path: root/src/shared/install.h
diff options
context:
space:
mode:
authorfangxiuning <fangxiuning123@126.com>2020-07-08 16:04:08 +0200
committerLennart Poettering <lennart@poettering.net>2020-07-10 10:05:39 +0200
commit76fb53c94a585a9552e1ed0ff8f5295c7073efeb (patch)
treee9f6fbeafa268fee813484228133d63161835331 /src/shared/install.h
parentNEWS: drop duplicate entry, add --image= entry (diff)
downloadsystemd-76fb53c94a585a9552e1ed0ff8f5295c7073efeb.tar.xz
systemd-76fb53c94a585a9552e1ed0ff8f5295c7073efeb.zip
install: fix wrong data type
Diffstat (limited to 'src/shared/install.h')
-rw-r--r--src/shared/install.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/install.h b/src/shared/install.h
index 5ff8bec165..788517d23e 100644
--- a/src/shared/install.h
+++ b/src/shared/install.h
@@ -183,7 +183,7 @@ int unit_file_exists(UnitFileScope scope, const LookupPaths *paths, const char *
int unit_file_get_list(UnitFileScope scope, const char *root_dir, Hashmap *h, char **states, char **patterns);
Hashmap* unit_file_list_free(Hashmap *h);
-int unit_file_changes_add(UnitFileChange **changes, size_t *n_changes, UnitFileChangeType type, const char *path, const char *source);
+int unit_file_changes_add(UnitFileChange **changes, size_t *n_changes, int type, const char *path, const char *source);
void unit_file_changes_free(UnitFileChange *changes, size_t n_changes);
void unit_file_dump_changes(int r, const char *verb, const UnitFileChange *changes, size_t n_changes, bool quiet);