Skip to content

Commit 8a324d1

Browse files
committed
sysext: change the table lookup string to be more verbose
1 parent c62d616 commit 8a324d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/basic/os-util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
static const char* const image_class_table[_IMAGE_CLASS_MAX] = {
2424
[IMAGE_MACHINE] = "machine",
2525
[IMAGE_PORTABLE] = "portable",
26-
[IMAGE_SYSEXT] = "extension",
26+
[IMAGE_SYSEXT] = "sysext",
2727
[IMAGE_CONFEXT] = "confext",
2828
};
2929

test/units/testsuite-50.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ touch /run/machines/a.raw /run/portables/b.raw /run/extensions/c.raw
461461
systemd-dissect --discover --json=short >/tmp/discover.json
462462
grep -q -F '{"name":"a","type":"raw","class":"machine","ro":false,"path":"/run/machines/a.raw"' /tmp/discover.json
463463
grep -q -F '{"name":"b","type":"raw","class":"portable","ro":false,"path":"/run/portables/b.raw"' /tmp/discover.json
464-
grep -q -F '{"name":"c","type":"raw","class":"extension","ro":false,"path":"/run/extensions/c.raw"' /tmp/discover.json
464+
grep -q -F '{"name":"c","type":"raw","class":"sysext","ro":false,"path":"/run/extensions/c.raw"' /tmp/discover.json
465465
rm /tmp/discover.json /run/machines/a.raw /run/portables/b.raw /run/extensions/c.raw
466466

467467
# Check that the /sbin/mount.ddi helper works

0 commit comments

Comments
 (0)