summaryrefslogtreecommitdiff
path: root/src/shared/install.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-11-15 14:43:46 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-11-15 14:45:24 +0100
commitd986e364c4343240ef77b26a1c9c516f574f015d (patch)
tree7e5be2da798378bd61c208af0241bdf9a1faaa8a /src/shared/install.c
parenteee15abcdb04ff2528409f82616216ae2e3b55ff (diff)
install: don't mix state and type enums
from 0ec0deaa
Diffstat (limited to 'src/shared/install.c')
-rw-r--r--src/shared/install.c2
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))