summaryrefslogtreecommitdiff
path: root/bin/sh
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1996-09-16 16:33:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1996-09-16 16:33:21 +0000
commit775f6daeaa8b371f3dbf955fa4bb2c4ddfb599e1 (patch)
treec370a95f3f9fb287b9a39848fd709aa63f5d934f /bin/sh
parent629ffcbeb85b6bb455f41cfc818a218f61499f56 (diff)
/tmp//_shXXXXXX -> /tmp/_shXXXXXX
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/histedit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c
index fdd5fd7c295..19eb17b1a2d 100644
--- a/bin/sh/histedit.c
+++ b/bin/sh/histedit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: histedit.c,v 1.4 1996/09/15 22:43:50 millert Exp $ */
+/* $OpenBSD: histedit.c,v 1.5 1996/09/16 16:33:20 millert Exp $ */
/* $NetBSD: histedit.c,v 1.8 1995/05/11 21:29:12 christos Exp $ */
/*-
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)histedit.c 8.2 (Berkeley) 5/4/95";
#else
-static char rcsid[] = "$OpenBSD: histedit.c,v 1.4 1996/09/15 22:43:50 millert Exp $";
+static char rcsid[] = "$OpenBSD: histedit.c,v 1.5 1996/09/16 16:33:20 millert Exp $";
#endif
#endif /* not lint */
@@ -327,7 +327,7 @@ histcmd(argc, argv)
if (editor) {
int fd;
INTOFF; /* easier */
- snprintf(editfile, sizeof(editfile), "%s/_shXXXXXX", _PATH_TMP);
+ snprintf(editfile, sizeof(editfile), "%s_shXXXXXX", _PATH_TMP);
if ((fd = mkstemp(editfile)) < 0)
error("can't create temporary file %s", editfile);
if ((efp = fdopen(fd, "w")) == NULL) {