From 6f7795fc9fed660596dcbca4859b7a4feb66bc72 Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Mon, 17 Mar 2003 17:26:22 +0000 Subject: [PATCH] fix-errnos-20030317 Put non-unix errnos inside of #ifdef __linux__. This should be a temporary fix, waiting for real fix from Derrick. --- src/viced/afsfileprocs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/viced/afsfileprocs.c b/src/viced/afsfileprocs.c index b392099af..c10fbf9ff 100644 --- a/src/viced/afsfileprocs.c +++ b/src/viced/afsfileprocs.c @@ -7171,6 +7171,7 @@ void init_sys_error_to_et(void) { sys2et[ENOTEMPTY] = UAENOTEMPTY; sys2et[ELOOP] = UAELOOP; sys2et[EWOULDBLOCK] = UAEWOULDBLOCK; +#ifdef __linux__ sys2et[ENOMSG] = UAENOMSG; sys2et[EIDRM] = UAEIDRM; sys2et[ECHRNG] = UAECHRNG; @@ -7254,6 +7255,7 @@ void init_sys_error_to_et(void) { sys2et[EDQUOT] = UAEDQUOT; sys2et[ENOMEDIUM] = UAENOMEDIUM; sys2et[EMEDIUMTYPE] = UAEMEDIUMTYPE; +#endif } afs_int32 sys_error_to_et(afs_int32 in) { -- 2.39.5