From 7490d98a8bfa6f2ca6698dd521c8a90f478fac64 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 4 Jan 2016 21:32:43 +0100 Subject: forgot that MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libhaiku.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src') 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: -- cgit v1.2.3-70-g09d2