]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Fix compilation error
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 12 Apr 2023 12:11:23 +0000 (14:11 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 12 Apr 2023 12:36:14 +0000 (14:36 +0200)
src/shared/discover-image.c

index ac6a8033ddb4928ec19320eb532afc2af90e94ed..fac595f0d59e507d8b8a55e461af33033a836c37 100644 (file)
@@ -79,12 +79,12 @@ static const char* const image_search_path[_IMAGE_CLASS_MAX] = {
 static const char* const image_search_path_initrd[_IMAGE_CLASS_MAX] = {
         /* (entries that aren't listed here will get the same search path as for the non initrd-case) */
 
-        [IMAGE_EXTENSION] = "/etc/extensions\0"             /* only place symlinks here */
-                            "/run/extensions\0"             /* and here too */
-                            "/var/lib/extensions\0"         /* the main place for images */
-                            "/usr/local/lib/extensions\0"
-                            "/usr/lib/extensions\0"
-                            "/.extra/sysext\0"              /* put sysext picked up by systemd-stub last, since not trusted */
+        [IMAGE_SYSEXT] = "/etc/extensions\0"             /* only place symlinks here */
+                         "/run/extensions\0"             /* and here too */
+                         "/var/lib/extensions\0"         /* the main place for images */
+                         "/usr/local/lib/extensions\0"
+                         "/usr/lib/extensions\0"
+                         "/.extra/sysext\0"              /* put sysext picked up by systemd-stub last, since not trusted */
 };
 
 static Image *image_free(Image *i) {