From: Thomas Hindoe Paaboel Andersen Date: Sun, 15 Nov 2015 13:43:46 +0000 (+0100) Subject: install: don't mix state and type enums X-Git-Tag: v228~27^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1896%2Fhead;p=thirdparty%2Fsystemd.git install: don't mix state and type enums from 0ec0deaa --- diff --git a/src/shared/install.c b/src/shared/install.c index 9b6464ba9dc..17e03e59cd4 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))