aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-04 21:32:43 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-04 21:32:43 +0100
commit7490d98a8bfa6f2ca6698dd521c8a90f478fac64 (patch)
tree0005a81fdfbcb77a283f2026b86ff857194e514f
parentm (diff)
downloadlibhaiku-7490d98a8bfa6f2ca6698dd521c8a90f478fac64.tar.gz
libhaiku-7490d98a8bfa6f2ca6698dd521c8a90f478fac64.tar.bz2
libhaiku-7490d98a8bfa6f2ca6698dd521c8a90f478fac64.tar.xz
forgot that
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--src/libhaiku.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libhaiku.c b/src/libhaiku.c
index 71f4b00..fe953b4 100644
--- a/src/libhaiku.c
+++ b/src/libhaiku.c
@@ -136,11 +136,21 @@ void libhaiku_perror(const char *s)
H("I'm sorry, there's... um...\n""insufficient... what's-it-called?\n""The term eludes me...\n");
#endif
+#ifdef ENOSPC
case ENOSPC:
+#endif
+#ifdef ENOSR
case ENOSR:
+#endif
+#ifdef ENOBUFS
case ENOBUFS:
+#endif
+#ifdef EDQUOT
case EDQUOT:
+#endif
+#if defined(ENOSPC) || defined(ENOSR) || defined(ENOBUFS) || defined(EDQUOT)
H("Out of memory.\n""We wish to hold the whole sky,\n""But we never will.\n");
+#endif
#ifdef ENOANO
case ENOANO: