diff options
author | joerg <joerg@FreeBSD.org> | 1995-12-29 12:18:46 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1995-12-29 12:18:46 +0000 |
commit | 33a7b7910e3786a8e0fe7b04738cac9130a8f7b2 (patch) | |
tree | 17340e9c22fab5b7fab1a4d605ffd4a41a99a0c2 /usr.bin/jot/jot.c | |
parent | 0c3911acb2171ab1cb629d1a756145310c1fb905 (diff) | |
download | FreeBSD-src-33a7b7910e3786a8e0fe7b04738cac9130a8f7b2.zip FreeBSD-src-33a7b7910e3786a8e0fe7b04738cac9130a8f7b2.tar.gz |
>Number: 917
>Category: bin
>Synopsis: -s option in jot is broken
Diffstat (limited to 'usr.bin/jot/jot.c')
-rw-r--r-- | usr.bin/jot/jot.c | 4 |
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]) |