summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-05-01 11:02:54 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-05-01 11:02:54 +0000
commitbac83636a5993dbcd1c0beefd628044771603523 (patch)
treedd1f916bef7d4f340b5e7b1895482f98bd8bcda6
parentaa79f23d9ba93e976781ae484639a321268c8705 (diff)
downloadsamba-bac83636a5993dbcd1c0beefd628044771603523.tar.gz
samba-bac83636a5993dbcd1c0beefd628044771603523.tar.bz2
samba-bac83636a5993dbcd1c0beefd628044771603523.zip
Fix disk quotas support on HP/UX (patch by David Nixon)
(This used to be commit a2c315dea6910e3f83ba2e9bad4312cf35f608da)
-rw-r--r--source3/smbd/quotas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/quotas.c b/source3/smbd/quotas.c
index c2f001423e..5b843bd09a 100644
--- a/source3/smbd/quotas.c
+++ b/source3/smbd/quotas.c
@@ -898,8 +898,8 @@ BOOL disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB
if ((sys_stat(path, &S)<0) || (devnm(S_IFBLK, S.st_dev, dev_disk, 256, 1)<0))
#else
if ((sys_stat(path, &S)<0) || (devnm(S_IFBLK, S.st_dev, dev_disk, 256, 0)<0))
- return (False);
#endif /* ifdef HPUX */
+ return (False);
#endif /* !defined(__FreeBSD__) && !defined(AIX) && !defined(__OpenBSD__) */