summaryrefslogtreecommitdiff
path: root/bin/csh/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/csh/dir.c')
-rw-r--r--bin/csh/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/csh/dir.c b/bin/csh/dir.c
index 05a6d39857b..2d196f4554b 100644
--- a/bin/csh/dir.c
+++ b/bin/csh/dir.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dir.c,v 1.15 2014/07/11 07:54:04 tedu Exp $ */
+/* $OpenBSD: dir.c,v 1.16 2014/07/12 02:47:51 guenther Exp $ */
/* $NetBSD: dir.c,v 1.9 1995/03/21 09:02:42 cgd Exp $ */
/*-
@@ -67,7 +67,7 @@ dinit(Char *hp)
Char *cp;
struct directory *dp;
char path[MAXPATHLEN];
- static char *emsg = "csh: Trying to start from \"%s\"\n";
+ static const char emsg[] = "csh: Trying to start from \"%s\"\n";
/* Don't believe the login shell home, because it may be a symlink */
tcp = getcwd(path, MAXPATHLEN);