From: Anton Blanchard Date: Mon, 26 Aug 2019 13:11:51 +0000 (+1000) Subject: Add missing argument to fprintf warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7277c6b5ab97e7ea558b07a01b01c0e5802a5212;p=microwatt.git Add missing argument to fprintf warning Signed-off-by: Anton Blanchard --- 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); }