diff options
Diffstat (limited to 'src/util/error.c')
-rw-r--r-- | src/util/error.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/util/error.c b/src/util/error.c new file mode 100644 index 0000000..e7f1f02 --- /dev/null +++ b/src/util/error.c @@ -0,0 +1,9 @@ +#include <stdio.h> +#include <stdlib.h> +#include "error.h" + + +void print_error_nomem(const char *progname) { + fprintf(stderr, "%s: Kon geen geheugen reserveren!\n", progname); + exit(1); +} |