summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorstark <stark@FreeBSD.org>1998-04-18 13:37:24 +0000
committerstark <stark@FreeBSD.org>1998-04-18 13:37:24 +0000
commit97401dfce3e8ee49ea5bf2e2c15648157deda2d9 (patch)
treeef90ed2c314b5c8952441518444f2a571b90490d /libexec
parentfd66256f3f5e5ed27e2606aa2fdbca79f3adce7e (diff)
downloadFreeBSD-src-97401dfce3e8ee49ea5bf2e2c15648157deda2d9.zip
FreeBSD-src-97401dfce3e8ee49ea5bf2e2c15648157deda2d9.tar.gz
PR: misc/4679
Submitted by: Glen Foster (gfoster@gfoster.com) Fix missing "/" in dump file pathname.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/xtend/user.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/xtend/user.c b/libexec/xtend/user.c
index c9e9e6d..6f898df 100644
--- a/libexec/xtend/user.c
+++ b/libexec/xtend/user.c
@@ -31,7 +31,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: user.c,v 1.7 1997/12/04 07:25:18 charnier Exp $";
#endif /* not lint */
#include <ctype.h>
@@ -90,6 +90,7 @@ user_command()
}
} else if(!strcmp("dump\n", cmd)) {
strcpy(dumppath, X10DIR);
+ strcat(dumppath, "/");
strcat(dumppath, X10DUMPNAME);
if((dumpf = fopen(dumppath, "w")) != NULL) {
for(h = 0; h < 16; h++) {
OpenPOWER on IntegriCloud