diff options
author | tg <tg@FreeBSD.org> | 2001-08-08 10:58:50 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-08-08 10:58:50 +0000 |
commit | 6348c039baa1f511ba2ac6fdaa35a20dc70660a0 (patch) | |
tree | 4d66598b3d4764d3b099fb706b641b607fb600c2 /usr.bin/doscmd/intff.c | |
parent | 2143008ac012ce21897ff583fc00d6fd7691f90d (diff) | |
download | FreeBSD-src-6348c039baa1f511ba2ac6fdaa35a20dc70660a0.zip FreeBSD-src-6348c039baa1f511ba2ac6fdaa35a20dc70660a0.tar.gz |
Silence some more warnings, mostly from `-W -Wwrite-strings'.
Diffstat (limited to 'usr.bin/doscmd/intff.c')
-rw-r--r-- | usr.bin/doscmd/intff.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/doscmd/intff.c b/usr.bin/doscmd/intff.c index 6ec7e0a..7e608cf 100644 --- a/usr.bin/doscmd/intff.c +++ b/usr.bin/doscmd/intff.c @@ -476,7 +476,8 @@ int2f11_lseek(regcontext_t *REGS) static int int2f11_fnqual(regcontext_t *REGS) { - char *fname,*tname; + char *fname; + const char *tname; int savedrive; int error; @@ -578,7 +579,7 @@ static int int2f11_validate(regcontext_t *REGS) { int func = R_AL; - char *path = NULL; + const char *path = NULL; int doit = 0; /* defaults may help trap problems */ |