Fix build warning on FreeBSD
commit369aa97cc593357bf068c196f569e0fc667228ac
authorSteven Danneman <steven.danneman@isilon.com>
Mon, 15 Sep 2008 23:17:03 +0000 (15 16:17 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 16 Sep 2008 09:47:12 +0000 (16 11:47 +0200)
tree7ea0ee1ef95cb2c02266c04bd669233623a3f754
parentab47c8cb0fd4d8a84c2df73b2fbba9deabf69597
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.
(cherry picked from commit 86f6815c5d971ed5bc25f72a0faa29c143dcafba)
source/torture/cmd_vfs.c