From 14cb10b737fc88d5acb82c626daa219703d00e64 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 12 Apr 2023 14:11:23 +0200 Subject: [PATCH] Fix compilation error --- src/shared/discover-image.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/shared/discover-image.c b/src/shared/discover-image.c index ac6a8033dd..fac595f0d5 100644 --- a/src/shared/discover-image.c +++ b/src/shared/discover-image.c @@ -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) {