diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-11-15 14:43:46 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-11-15 14:45:24 +0100 |
commit | d986e364c4343240ef77b26a1c9c516f574f015d (patch) | |
tree | 7e5be2da798378bd61c208af0241bdf9a1faaa8a /src/shared/install.c | |
parent | eee15abcdb04ff2528409f82616216ae2e3b55ff (diff) |
install: don't mix state and type enums
from 0ec0deaa
Diffstat (limited to 'src/shared/install.c')
-rw-r--r-- | src/shared/install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/install.c b/src/shared/install.c index 9b6464ba9d..17e03e59cd 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -942,7 +942,7 @@ static int unit_file_load( if (fstat(fd, &st) < 0) return -errno; if (null_or_empty(&st)) { - info->type = UNIT_FILE_MASKED; + info->type = UNIT_FILE_TYPE_MASKED; return 0; } if (S_ISDIR(st.st_mode)) |