summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/cwd.c
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-07-31 11:27:48 +0000
committertg <tg@FreeBSD.org>2001-07-31 11:27:48 +0000
commit06710de6d1a79e84c2ff09b30a5d0aa80612acd1 (patch)
tree40c071f49e004d89c5bc0f9840e4a56a7bda4c55 /usr.bin/doscmd/cwd.c
parent255f93776505f9f1353ce290ba85b0f7a4f5f29b (diff)
downloadFreeBSD-src-06710de6d1a79e84c2ff09b30a5d0aa80612acd1.zip
FreeBSD-src-06710de6d1a79e84c2ff09b30a5d0aa80612acd1.tar.gz
Mark debug() and fatal() as __printflike() and fix resulting warnings.
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 97cbcbd..17b381e 100644
--- a/usr.bin/doscmd/cwd.c
+++ b/usr.bin/doscmd/cwd.c
@@ -849,7 +849,7 @@ find_first(u_char *path, int attr, dosdir_t *dir, find_block_t *dta)
int error;
search_t *search = &dir_search;
- debug(D_REDIR, "find_first(%s, %x, %x)\n", path, attr, dta);
+ debug(D_REDIR, "find_first(%s, %x, %x)\n", path, attr, (int)dta);
error = dos_makepath(path, new_path);
if (error)
OpenPOWER on IntegriCloud