summaryrefslogtreecommitdiff
path: root/gl/strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/strerror.c')
-rw-r--r--gl/strerror.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gl/strerror.c b/gl/strerror.c
index b0df778489..6e1c0b0ebb 100644
--- a/gl/strerror.c
+++ b/gl/strerror.c
@@ -32,6 +32,9 @@
# include "intprops.h"
+/* Use the system functions, not the gnulib overrides in this file. */
+# undef sprintf
+
# undef strerror
# if ! HAVE_DECL_STRERROR
# define strerror(n) NULL
@@ -319,6 +322,12 @@ rpl_strerror (int n)
break;
# endif
+# if GNULIB_defined_EDQUOT
+ case EDQUOT:
+ msg = "Disk quota exceeded";
+ break;
+# endif
+
# if GNULIB_defined_ECANCELED
case ECANCELED:
msg = "Operation canceled";