1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

basic/time-util: fix errno name

Fixup for bdaeafea5d. This was supposed to be
pushed in an updated version, but I forgot to stage the change.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-07-02 10:53:40 +02:00 committed by Lennart Poettering
parent 33f899bd47
commit 8def4b347a

View File

@ -1437,7 +1437,7 @@ int verify_timezone(const char *name, int log_level) {
/* Magic from tzfile(5) */
if (memcmp(buf, "TZif", 4) != 0)
return log_full_errno(log_level, SYNTHETIC_ERRNO(EIO),
return log_full_errno(log_level, SYNTHETIC_ERRNO(EBADMSG),
"Timezone file '%s' has wrong magic bytes", t);
return 0;