Add missing argument to fprintf warning
authorAnton Blanchard <anton@linux.ibm.com>
Mon, 26 Aug 2019 13:11:51 +0000 (23:11 +1000)
committerAnton Blanchard <anton@ozlabs.org>
Mon, 26 Aug 2019 13:11:51 +0000 (23:11 +1000)
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
simple_ram_behavioural_helpers_c.c

index e7dfcb531341126aeb5fdbd2368edad237a5867d..0a70533596d335e64b4ab566fdb19f32eea4cc66 100644 (file)
@@ -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);
        }