From: Jim Rees Date: Mon, 17 Mar 2003 17:26:22 +0000 (+0000) Subject: fix-errnos-20030317 X-Git-Tag: openafs-devel-1_3_50~309 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=6f7795fc9fed660596dcbca4859b7a4feb66bc72 fix-errnos-20030317 Put non-unix errnos inside of #ifdef __linux__. This should be a temporary fix, waiting for real fix from Derrick. --- diff --git a/src/viced/afsfileprocs.c b/src/viced/afsfileprocs.c index b392099..c10fbf9 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) {