diff options
Diffstat (limited to 'usr.bin/paste')
| -rw-r--r-- | usr.bin/paste/paste.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/paste/paste.c b/usr.bin/paste/paste.c index 683b12001eb79..6e3e5539d0c0a 100644 --- a/usr.bin/paste/paste.c +++ b/usr.bin/paste/paste.c @@ -140,7 +140,7 @@ parallel(char **argv) LIST *head, *tmp; int opencnt, output; - for (cnt = 0, head = NULL; (p = *argv); ++argv, ++cnt) { + for (cnt = 0, head = tmp = NULL; (p = *argv); ++argv, ++cnt) { if ((lp = malloc(sizeof(LIST))) == NULL) err(1, NULL); if (p[0] == '-' && !p[1]) |
