summaryrefslogtreecommitdiff
path: root/usr.bin/paste/paste.c
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>2006-09-12 05:08:36 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>2006-09-12 05:08:36 +0000
commitb2eeeae049cd3176f551e4091aa0c9211dfd06e5 (patch)
treecf2c640810530ec21f926f621e1fa9ca2bea9978 /usr.bin/paste/paste.c
parentd94f2a68f8c39a5abc9ba9c58e959f31bc90194d (diff)
Notes
Diffstat (limited to 'usr.bin/paste/paste.c')
-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 683b12001eb7..6e3e5539d0c0 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])