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:
parent
33f899bd47
commit
8def4b347a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user