diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/dfree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/dfree.c b/source3/smbd/dfree.c index 31eb9fbd60..9e7f18a130 100644 --- a/source3/smbd/dfree.c +++ b/source3/smbd/dfree.c @@ -150,10 +150,10 @@ SMB_BIG_UINT sys_disk_free(connection_struct *conn, const char *path, bool small } if ((*dsize)<1) { - static int done; + static bool done = false; if (!done) { DEBUG(0,("WARNING: dfree is broken on this system\n")); - done=1; + done=true; } *dsize = 20*1024*1024/(*bsize); *dfree = MAX(1,*dfree); |