diff options
author | Volker Lendecke <vl@sernet.de> | 2007-12-05 20:58:25 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2007-12-10 12:22:01 +0100 |
commit | e9e33adc7c959e5ccfd605dcc0456265e0cffc1d (patch) | |
tree | 12e4ecd9ca0a96af28f23b9fa0406a46cb3aecb1 | |
parent | d60fac2a5a789680b6dd9f05ab15a3033ec2887c (diff) | |
download | samba-e9e33adc7c959e5ccfd605dcc0456265e0cffc1d.tar.gz samba-e9e33adc7c959e5ccfd605dcc0456265e0cffc1d.tar.bz2 samba-e9e33adc7c959e5ccfd605dcc0456265e0cffc1d.zip |
int->bool
(This used to be commit 874258195278bc8c6bb3011c153c5d646fff9e75)
-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); |