mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
notmuch dump: Fix buffer overrun in error message.
Just a little bug I noticed while editing nearby code.
This commit is contained in:
parent
d29a6ec791
commit
0e914d9e96
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ dump_command (int argc, char *argv[])
|
|||
output = fopen (argv[0], "w");
|
||||
if (output == NULL) {
|
||||
fprintf (stderr, "Error opening %s for writing: %s\n",
|
||||
argv[1], strerror (errno));
|
||||
argv[0], strerror (errno));
|
||||
ret = 1;
|
||||
goto DONE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue