aboutsummaryrefslogtreecommitdiff
path: root/apps/wm.c
diff options
context:
space:
mode:
authorMarvin Borner2021-03-15 22:54:54 +0100
committerMarvin Borner2021-03-15 22:54:54 +0100
commitdc9f9f55cb6b38b87d8c228ae9abb4b53ebfb25c (patch)
treee4a51d5e94f963bcabe834b3ba535a8da871c42f /apps/wm.c
parent665b00e7f44e5088b134d111ba1d5226c11f0ae8 (diff)
System hardening and errno impl
Diffstat (limited to 'apps/wm.c')
-rw-r--r--apps/wm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/wm.c b/apps/wm.c
index ecc7cb2..8916abf 100644
--- a/apps/wm.c
+++ b/apps/wm.c
@@ -2,6 +2,7 @@
#include <assert.h>
#include <def.h>
+#include <errno.h>
#include <gfx.h>
#include <gui.h>
#include <input.h>
@@ -404,7 +405,7 @@ int main(int argc, char **argv)
}
}
}
- panic("Poll/read error!\n");
+ panic("Poll/read error: %s\n", strerror(errno));
}
// TODO: Execute?