summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-05-01 11:02:26 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-05-01 11:02:26 +0000
commited454fe3d677a27e19b904f5d0d3199b62c9a1b0 (patch)
treee62c499d0d7e873773a0821dae37a4e6cb11b725
parenta9aea1449a3a311c8bf05e4c794c741910bc0459 (diff)
downloadsamba-ed454fe3d677a27e19b904f5d0d3199b62c9a1b0.tar.gz
samba-ed454fe3d677a27e19b904f5d0d3199b62c9a1b0.tar.bz2
samba-ed454fe3d677a27e19b904f5d0d3199b62c9a1b0.zip
Fix disk quotas support on HP/UX (patch by David Nixon)
(This used to be commit 908d839b77a03ac07b00b43a3000c8ea53dd5e35)
-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__) */