summaryrefslogtreecommitdiff
path: root/src/bf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bf.c')
-rw-r--r--src/bf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bf.c b/src/bf.c
index 7d908560dbad2..0f2c9c0195ebe 100644
--- a/src/bf.c
+++ b/src/bf.c
@@ -695,7 +695,8 @@ sm_bfcommit(fp)
sm_dprintf("bfcommit(%s): to disk\n", bfp->bf_filename);
if (tTd(58, 32))
sm_dprintf("bfcommit(): filemode %o flags %ld\n",
- bfp->bf_filemode, bfp->bf_flags);
+ (unsigned int) bfp->bf_filemode,
+ bfp->bf_flags);
}
if (stat(bfp->bf_filename, &st) == 0)