]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
base-filesystem.c: add trailing zero byte for s390x entry
authorAnsgar Burchardt <aburch@users.noreply.github.com>
Mon, 12 Sep 2022 12:55:14 +0000 (14:55 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 12 Sep 2022 14:35:09 +0000 (23:35 +0900)
src/shared/base-filesystem.c

index cd8ea493199330945b3620983391596cb13db9c5..5b4f674ec2b01b3516f861e356d9b5fdf1765356 100644 (file)
@@ -111,7 +111,7 @@ static const BaseFilesystem table[] = {
         /* s390-linux-gnu */
 #elif defined(__s390x__)
         { "lib64",    0, "usr/lib/"LIB_ARCH_TUPLE"\0"
-                         "usr/lib64",                  "ld-lsb-s390x.so.3" },
+                         "usr/lib64\0",                "ld-lsb-s390x.so.3" },
 #    define KNOW_LIB64_DIRS 1
 #elif defined(__sparc__)
 #endif