summaryrefslogtreecommitdiffstats
path: root/usr.bin/jot
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/jot')
-rw-r--r--usr.bin/jot/jot.c4
1 files changed, 2 insertions, 2 deletions
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])
OpenPOWER on IntegriCloud