diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2020-10-01 04:25:54 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2020-10-01 04:25:54 +0000 |
commit | b4ed613595432ece6802d09bfabad18e09aa26f3 (patch) | |
tree | bd2db6b09b756624c1b2babdd12ea05a9dffcdaf /common/msg.c | |
parent | 7cef6c685d23e4dcdf3f64b0b2ea92151e652db6 (diff) |
Notes
Diffstat (limited to 'common/msg.c')
-rw-r--r-- | common/msg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/msg.c b/common/msg.c index d2463a3ecccd5..7499f451be59d 100644 --- a/common/msg.c +++ b/common/msg.c @@ -731,7 +731,11 @@ msg_open(SCR *sp, char *file) * corrupt catalog file. Errno == 0 is not rare; add * EFTYPE, which is seen on FreeBSD, for a good measure. */ +#ifdef EFTYPE if (errno == 0 || errno == EFTYPE) +#else + if (errno == 0) +#endif msgq_str(sp, M_ERR, p, "030|The file %s is not a message catalog"); else |