diff options
author | rsc <devnull@localhost> | 2007-04-17 05:43:22 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-04-17 05:43:22 +0000 |
commit | adcb656c84b8a311eeebe31d9cc530c1ed822e5b (patch) | |
tree | 39a396d33d744bfd36727e235b75cacd31dc7459 /src/cmd | |
parent | c7a10afd388ab71a93d018269b1fecb0af8facbd (diff) | |
download | plan9port-adcb656c84b8a311eeebe31d9cc530c1ed822e5b.tar.gz plan9port-adcb656c84b8a311eeebe31d9cc530c1ed822e5b.tar.bz2 plan9port-adcb656c84b8a311eeebe31d9cc530c1ed822e5b.zip |
correct dump string (Fazlul Shahriar)
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/9term/win.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmd/9term/win.c b/src/cmd/9term/win.c index cef83d06..30f819f9 100644 --- a/src/cmd/9term/win.c +++ b/src/cmd/9term/win.c @@ -130,6 +130,9 @@ threadmain(int argc, char **argv) char buf[256]; char buf1[128]; CFsys *fs; + char *dump; + + dump = onestring(argc, argv); ARGBEGIN{ case 'd': @@ -197,7 +200,7 @@ threadmain(int argc, char **argv) fswrite(ctlfd, buf, strlen(buf)); sprint(buf, "dumpdir %s/\n", buf1); fswrite(ctlfd, buf, strlen(buf)); - sprint(buf, "dump %s\n", onestring(argc, argv)); + sprint(buf, "dump %s\n", dump); fswrite(ctlfd, buf, strlen(buf)); updatewinsize(25, 80, 0, 0); |