diff options
Diffstat (limited to 'lib/libc/posix1e/mac.c')
-rw-r--r-- | lib/libc/posix1e/mac.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/posix1e/mac.c b/lib/libc/posix1e/mac.c index def4bb2..d8a1b2d 100644 --- a/lib/libc/posix1e/mac.c +++ b/lib/libc/posix1e/mac.c @@ -365,7 +365,8 @@ mac_prepare_type(struct mac **mac, const char *name) return (mac_prepare(mac, ld->ld_labels)); } - return (ENOENT); /* XXXMAC: ENOLABEL */ + errno = ENOENT; + return (-1); /* XXXMAC: ENOLABEL */ } int |