summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/cwd.c
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-08-08 10:58:50 +0000
committertg <tg@FreeBSD.org>2001-08-08 10:58:50 +0000
commit6348c039baa1f511ba2ac6fdaa35a20dc70660a0 (patch)
tree4d66598b3d4764d3b099fb706b641b607fb600c2 /usr.bin/doscmd/cwd.c
parent2143008ac012ce21897ff583fc00d6fd7691f90d (diff)
downloadFreeBSD-src-6348c039baa1f511ba2ac6fdaa35a20dc70660a0.zip
FreeBSD-src-6348c039baa1f511ba2ac6fdaa35a20dc70660a0.tar.gz
Silence some more warnings, mostly from `-W -Wwrite-strings'.
Diffstat (limited to 'usr.bin/doscmd/cwd.c')
-rw-r--r--usr.bin/doscmd/cwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/doscmd/cwd.c b/usr.bin/doscmd/cwd.c
index 1a1f7a2..85269b9 100644
--- a/usr.bin/doscmd/cwd.c
+++ b/usr.bin/doscmd/cwd.c
@@ -835,7 +835,7 @@ to_dos_fcb(u_char *p, u_char *expr)
** We allocate a single search structure, and recycle it if find_first()
** is called before a search ends.
*/
-static search_t dir_search = {dp : NULL};
+static search_t dir_search;
/*
* Find the first file on drive which matches the path with the given
OpenPOWER on IntegriCloud