diff options
author | Marvin Borner | 2021-03-15 22:54:54 +0100 |
---|---|---|
committer | Marvin Borner | 2021-03-15 22:54:54 +0100 |
commit | dc9f9f55cb6b38b87d8c228ae9abb4b53ebfb25c (patch) | |
tree | e4a51d5e94f963bcabe834b3ba535a8da871c42f /apps/wm.c | |
parent | 665b00e7f44e5088b134d111ba1d5226c11f0ae8 (diff) |
System hardening and errno impl
Diffstat (limited to 'apps/wm.c')
-rw-r--r-- | apps/wm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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? |