diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-21 10:12:11 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-21 10:12:11 -0700 |
commit | 0e914d9e9646349976c16472be9e986ad4b3e29e (patch) | |
tree | 8ef2f5f2261b6295f8ae65831c3d26248f48afc0 /notmuch.c | |
parent | d29a6ec79167e87e4958d9500956668c430db4c6 (diff) |
notmuch dump: Fix buffer overrun in error message.
Just a little bug I noticed while editing nearby code.
Diffstat (limited to 'notmuch.c')
-rw-r--r-- | notmuch.c | 2 |
1 files changed, 1 insertions, 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; } |