]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
install: don't mix state and type enums 1896/head
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Sun, 15 Nov 2015 13:43:46 +0000 (14:43 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Sun, 15 Nov 2015 13:45:24 +0000 (14:45 +0100)
from 0ec0deaa

src/shared/install.c

index 9b6464ba9dc0b15d283205f0e93b16d04ab5b62f..17e03e59cd4da58641911b50007d69fc1d73a551 100644 (file)
@@ -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))