summaryrefslogtreecommitdiff
path: root/pgfuse.c
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-04-20 14:13:27 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-04-20 14:13:57 +0200
commit481b1a4955d5be53aa778032280b90e256cf3b7c (patch)
treeedd9913075a799ec2e368f28970e3017680ce6d2 /pgfuse.c
parentdaa854033ba1ee2b3b6075bf4f1af516d0d11487 (diff)
downloadpgfuse-481b1a4955d5be53aa778032280b90e256cf3b7c.tar.gz
pgfuse-481b1a4955d5be53aa778032280b90e256cf3b7c.tar.bz2
fixed some compilation issues on Centos 6
Diffstat (limited to 'pgfuse.c')
-rw-r--r--pgfuse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgfuse.c b/pgfuse.c
index 606f44e..c820924 100644
--- a/pgfuse.c
+++ b/pgfuse.c
@@ -804,7 +804,7 @@ static int pgfuse_write( const char *path, const char *buf, size_t size,
}
if( res != size ) {
syslog( LOG_ERR, "Write size mismatch in file '%s' on mountpoint '%s', expected '%d' to be written, but actually wrote '%d' bytes! Data inconistency!",
- path, data->mountpoint, size, res );
+ path, data->mountpoint, (unsigned int)size, res );
PSQL_ROLLBACK( conn ); RELEASE( conn );
return -EIO;
}