diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-06-16 20:33:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-06-17 02:43:43 +0200 |
commit | c2a8d7b05c8a067dff701db5127c2c1753e0ac26 (patch) | |
tree | 4130121d68293df7cfa4ca70950daddce4e67370 /src/shared/install.h | |
parent | d309c1c36426f9a355e28e3c35153281939aeea6 (diff) |
install: teach preset query logic --root= support
Diffstat (limited to 'src/shared/install.h')
-rw-r--r-- | src/shared/install.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/install.h b/src/shared/install.h index 230cfe1150..d057bb052b 100644 --- a/src/shared/install.h +++ b/src/shared/install.h @@ -99,7 +99,7 @@ int unit_file_get_list(UnitFileScope scope, const char *root_dir, Hashmap *h); void unit_file_list_free(Hashmap *h); void unit_file_changes_free(UnitFileChange *changes, unsigned n_changes); -int unit_file_query_preset(UnitFileScope scope, const char *name); +int unit_file_query_preset(UnitFileScope scope, const char *root_dir, const char *name); const char *unit_file_state_to_string(UnitFileState s) _const_; UnitFileState unit_file_state_from_string(const char *s) _pure_; |