summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/paste/paste.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/paste/paste.c b/usr.bin/paste/paste.c
index 683b120..6e3e553 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])
OpenPOWER on IntegriCloud