summaryrefslogtreecommitdiff
path: root/src/util/error.c
diff options
context:
space:
mode:
authorLieuwe Rooijakkers <lieuwerooijakkers@gmail.com>2024-07-23 00:02:27 +0200
committerLieuwe Rooijakkers <lieuwerooijakkers@gmail.com>2024-07-23 00:02:27 +0200
commit93394b388f7cbec6640e361aa95c3b30ba2a90fc (patch)
tree40a30f58d39f01f3eaf9df9446b14edd9b09b534 /src/util/error.c
parentbd22d0e47d0fb203286b088f048cf1aff1fa93a1 (diff)
global progname variable
Diffstat (limited to 'src/util/error.c')
-rw-r--r--src/util/error.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/error.c b/src/util/error.c
index e7f1f02..6c02810 100644
--- a/src/util/error.c
+++ b/src/util/error.c
@@ -2,8 +2,9 @@
#include <stdlib.h>
#include "error.h"
+#include "global.h"
-void print_error_nomem(const char *progname) {
+void print_error_nomem() {
fprintf(stderr, "%s: Kon geen geheugen reserveren!\n", progname);
exit(1);
}