From d986e364c4343240ef77b26a1c9c516f574f015d Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Sun, 15 Nov 2015 14:43:46 +0100 Subject: install: don't mix state and type enums from 0ec0deaa --- src/shared/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)) -- cgit v1.2.3-54-g00ecf