diff options
author | Tony Luck <tony.luck@intel.com> | 2022-10-13 13:01:54 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2022-10-13 13:01:54 -0700 |
commit | 0fbd1d82f15b27d5fbe34afb63d6e7955d0fe050 (patch) | |
tree | d22a7144a1b730c00f515534cadcbbe5ce7e09bd | |
parent | 2740eba4435937341bb7dc4719d1d108f459d8b6 (diff) | |
download | ras-tools-0fbd1d82f15b27d5fbe34afb63d6e7955d0fe050.tar.gz |
einj_mem_uc: Add missing argument to error message
Compiler complains (correctly) that the format string specifies
two additional arguments, but only one is present. Fix it.
Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r-- | einj_mem_uc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/einj_mem_uc.c b/einj_mem_uc.c index 90cf5c9..6554bcb 100644 --- a/einj_mem_uc.c +++ b/einj_mem_uc.c @@ -713,7 +713,7 @@ int trigger_copyout(char *addr) rewind(pcfile); PRINT_TRIGGERING; ret = fread(buf, 1, pagesize, pcfile); - fprintf(stderr, "%s: read returned %d\n", progname); + fprintf(stderr, "%s: read returned %d\n", progname, ret); return 0; } |