Fixed codes for compiling(32)

1) Fixed codes
   Fixed compiling error on 32bit, which specified wrong dev_t format
   on 32bit.




git-svn-id: http://s3fs.googlecode.com/svn/trunk@478 df820570-a93a-0410-bd06-b72b767a4274
This commit is contained in:
ggtakec@gmail.com 2013-08-26 07:18:05 +00:00
parent c3c6c0f572
commit 8111edec61

View File

@ -756,7 +756,7 @@ static int s3fs_mknod(const char *path, mode_t mode, dev_t rdev)
headers_t meta;
struct fuse_context* pcxt;
FPRN("[path=%s][mode=%04o][dev=%lu]", path, mode, rdev);
FPRN("[path=%s][mode=%04o][dev=%ju]", path, mode, (uintmax_t)rdev);
if(NULL == (pcxt = fuse_get_context())){
return -EIO;