summaryrefslogtreecommitdiff
path: root/pgfuse.c
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-04-20 16:21:54 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-04-20 16:21:54 +0200
commitc08ff230bc1af97e10251d10731da9c874e79c1f (patch)
tree79dad45385cfc2d9869d3769e3b75776789c76fc /pgfuse.c
parent5eb7fb4387f431b03c69a726a00b357e332b0455 (diff)
downloadpgfuse-c08ff230bc1af97e10251d10731da9c874e79c1f.tar.gz
pgfuse-c08ff230bc1af97e10251d10731da9c874e79c1f.tar.bz2
fixed compile issues on debian and suse
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 c820924..464e1af 100644
--- a/pgfuse.c
+++ b/pgfuse.c
@@ -259,7 +259,7 @@ static int pgfuse_access( const char *path, int mode )
static char *flags_to_string( int flags )
{
char *s;
- char *mode_s;
+ char *mode_s = "";
if( ( flags & O_ACCMODE ) == O_WRONLY ) mode_s = "O_WRONLY";
else if( ( flags & O_ACCMODE ) == O_RDWR ) mode_s = "O_RDWR";