git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
678f2ca
)
s3: Fix a very embarrassing build failure
author
Volker Lendecke
<vl@samba.org>
Sat, 12 Dec 2009 15:58:31 +0000
(16:58 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sat, 12 Dec 2009 15:57:49 +0000
(16:57 +0100)
source3/smbd/quotas.c
patch
|
blob
|
history
diff --git
a/source3/smbd/quotas.c
b/source3/smbd/quotas.c
index 8c443b6f60f85fec16b93f4e09216712e821f832..1ad2b937b13c83c9f02c5aff9bcf3f482a4a521e 100644
(file)
--- a/
source3/smbd/quotas.c
+++ b/
source3/smbd/quotas.c
@@
-328,7
+328,7
@@
bool disk_quotas(const char *path, uint64_t *bsize, uint64_t *dfree, uint64_t *d
}
while ((mnt = getmntent(fd)) != NULL) {
- if (sys_stat(mnt->mnt_dir, &sbuf, false) {
+ if (sys_stat(mnt->mnt_dir, &sbuf, false)
== -1)
{
continue;
}
if (sbuf.st_ex_dev == devno) {
@@
-599,7
+599,7
@@
bool disk_quotas(const char *path,
euser_id = geteuid();
- if (sys_stat(path, &sbuf, false) {
+ if (sys_stat(path, &sbuf, false)
== -1)
{
return false;
}