summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2003-08-30 14:51:01 +0000
committerRobert Watson <rwatson@FreeBSD.org>2003-08-30 14:51:01 +0000
commit7ea02dcd8934a984035979f3d2a8f2db282a9e47 (patch)
treef177eacb18fa6fd1176305effb7e8db33950af6b /lib/libc
parentbfe61e17005336999a57e6805fbbb8f4e8832853 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/posix1e/mac.c3
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