From 702075eba6c9bbb05353a796f4573c45b3b5ea8e Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Mon, 24 Feb 2020 16:23:39 +0100 Subject: [PATCH] Add forgotten file name argument to `err` --- src/link/object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/link/object.c b/src/link/object.c index 61aa803c..9dcb1451 100644 --- a/src/link/object.c +++ b/src/link/object.c @@ -429,7 +429,7 @@ void obj_ReadFile(char const *fileName) section->symbols = malloc(sizeof(*section->symbols) * nbSymPerSect[i]); if (!section->symbols) - err(1, "%s: Couldn't link to symbols"); + err(1, "%s: Couldn't link to symbols", fileName); } else { section->symbols = NULL; }