Skip to content

Commit 6b26ae9

Browse files
author
Dave Dykstra
committed
fix Sonar warnings
1 parent d4fbf9c commit 6b26ae9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pacparse.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ int main(int argc, char* argv[])
285285
}
286286
script = realloc(script, script_size);
287287
if (script == NULL) {
288-
fprintf(stderr, "%s: Failed to realloc %d bytes memory for the script %s\n",
289-
progname, script_size);
288+
fprintf(stderr, "%s: Failed to realloc %d bytes of memory for the script %s\n",
289+
progname, (int)script_size, script);
290290
free(old);
291291
return 1;
292292
}

0 commit comments

Comments
 (0)