aboutsummaryrefslogtreecommitdiffstats
path: root/nimisewi.c
diff options
context:
space:
mode:
Diffstat (limited to 'nimisewi.c')
-rw-r--r--nimisewi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimisewi.c b/nimisewi.c
index 989e227..28d79a6 100644
--- a/nimisewi.c
+++ b/nimisewi.c
@@ -218,7 +218,7 @@ char
nimi_pana = calloc(nn->suli_pi_nimi_sewi + 1, sizeof(char));
if (nimi_pana == NULL) {
weka_e_nanpa_nimi(nn);
- return NULL;
+ err(EXIT_FAILURE, "memory allocation failed");
}
for (i = 0; i < nn->nanpa_nimi; i++) {