diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2003-08-30 14:51:01 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2003-08-30 14:51:01 +0000 |
| commit | 7ea02dcd8934a984035979f3d2a8f2db282a9e47 (patch) | |
| tree | f177eacb18fa6fd1176305effb7e8db33950af6b /lib/libc | |
| parent | bfe61e17005336999a57e6805fbbb8f4e8832853 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -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 def4bb20f21e..d8a1b2ddc814 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 |
