summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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))