Skip to content

Commit

Permalink
fix Sonar warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Dykstra committed Jun 14, 2023
1 parent d4fbf9c commit 6b26ae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pacparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ int main(int argc, char* argv[])
}
script = realloc(script, script_size);
if (script == NULL) {
fprintf(stderr, "%s: Failed to realloc %d bytes memory for the script %s\n",
progname, script_size);
fprintf(stderr, "%s: Failed to realloc %d bytes of memory for the script %s\n",
progname, (int)script_size, script);
free(old);
return 1;
}
Expand Down

0 comments on commit 6b26ae9

Please sign in to comment.