Fix build warning on FreeBSD
authorSteven Danneman <steven.danneman@isilon.com>
Mon, 15 Sep 2008 23:28:30 +0000 (16:28 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 15 Sep 2008 23:28:30 +0000 (16:28 -0700)
commitd10c386472175ceb312b9bcca07822a6df66a266
tree15ba75b22f9ec88adda4062ceb58ea0c7c1a74f5
parent1b839eb9e4a6312e638d1856d1225b170525da7e
Fix build warning on FreeBSD

Fix for the following build warning:

Compiling torture/cmd_vfs.c
torture/cmd_vfs.c: In function `cmd_open':
torture/cmd_vfs.c:275: warning: unsigned int format, different type arg (arg 3)
torture/cmd_vfs.c: In function `cmd_mknod':
torture/cmd_vfs.c:992: warning: unsigned int format, different type arg (arg 3)

sccanf had mismatched types for mode_t between formating parameter and var args.
source/torture/cmd_vfs.c