Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libsa translate EACCES (happens with NFS)



details:   https://anonhg.NetBSD.org/src/rev/33c54ac82d70
branches:  trunk
changeset: 544101:33c54ac82d70
user:      drochner <drochner%NetBSD.org@localhost>
date:      Tue Mar 11 15:02:54 2003 +0000

description:
translate EACCES (happens with NFS)

diffstat:

 sys/lib/libsa/strerror.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 91a5054e4619 -r 33c54ac82d70 sys/lib/libsa/strerror.c
--- a/sys/lib/libsa/strerror.c  Tue Mar 11 15:01:51 2003 +0000
+++ b/sys/lib/libsa/strerror.c  Tue Mar 11 15:02:54 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: strerror.c,v 1.14 2003/02/01 14:53:38 dsl Exp $        */
+/*     $NetBSD: strerror.c,v 1.15 2003/03/11 15:02:54 drochner Exp $   */
 
 /*-
  * Copyright (c) 1993
@@ -57,6 +57,7 @@
        { EINVAL,       "Invalid argument" },
        { ENOTDIR,      "Not a directory" },
        { EOFFSET,      "invalid file offset" },
+       { EACCES,       "Permission denied" },
        { 0, 0 } };
 
 char *



Home | Main Index | Thread Index | Old Index