From 7277c6b5ab97e7ea558b07a01b01c0e5802a5212 Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Mon, 26 Aug 2019 23:11:51 +1000 Subject: [PATCH] Add missing argument to fprintf warning Signed-off-by: Anton Blanchard --- simple_ram_behavioural_helpers_c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple_ram_behavioural_helpers_c.c b/simple_ram_behavioural_helpers_c.c index e7dfcb5..0a70533 100644 --- a/simple_ram_behavioural_helpers_c.c +++ b/simple_ram_behavioural_helpers_c.c @@ -114,7 +114,7 @@ unsigned long behavioural_initialize(void *__f, unsigned long size) void *mem; if (region_nr == MAX_REGIONS) { - fprintf(stderr, "%s: too many regions, bump MAX_REGIONS\n"); + fprintf(stderr, "%s: too many regions, bump MAX_REGIONS\n", __func__); exit(1); } -- 2.30.2