From baf72184e69d478ef6b6cf4eb10c0fe5a4dd1c4e Mon Sep 17 00:00:00 2001 From: uyjulian Date: Wed, 8 Jul 2020 00:09:32 -0500 Subject: [PATCH] Fill in Unknown for the system identifier if there is no utsname and not Windows --- libarchive/archive_write_set_format_iso9660.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libarchive/archive_write_set_format_iso9660.c b/libarchive/archive_write_set_format_iso9660.c index 7cde44c34..faabd28ea 100644 --- a/libarchive/archive_write_set_format_iso9660.c +++ b/libarchive/archive_write_set_format_iso9660.c @@ -2178,7 +2178,8 @@ get_system_identitier(char *system_id, size_t size) strncpy(system_id, "Windows", size-1); system_id[size-1] = '\0'; #else -#error no way to get the system identifier on your platform. + strncpy(system_id, "Unknown", size-1); + system_id[size-1] = '\0'; #endif } -- 2.47.2