From 33a7b7910e3786a8e0fe7b04738cac9130a8f7b2 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 29 Dec 1995 12:18:46 +0000 Subject: >Number: 917 >Category: bin >Synopsis: -s option in jot is broken --- usr.bin/jot/jot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/jot') diff --git a/usr.bin/jot/jot.c b/usr.bin/jot/jot.c index 442d083..700a1da 100644 --- a/usr.bin/jot/jot.c +++ b/usr.bin/jot/jot.c @@ -140,11 +140,11 @@ getargs(ac, av) break; case 's': if ((*av)[2]) - strcpy(sepstring, *av + 2); + sepstring = *av + 2; else if (!--ac) error("Need string after -s", ""); else - strcpy(sepstring, *++av); + sepstring = *++av; break; case 'p': if ((*av)[2]) -- cgit v1.1