Fix disk quotas support on HP/UX (patch by David Nixon)
authorJelmer Vernooij <jelmer@samba.org>
Thu, 1 May 2003 11:02:54 +0000 (11:02 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 1 May 2003 11:02:54 +0000 (11:02 +0000)
(This used to be commit a2c315dea6910e3f83ba2e9bad4312cf35f608da)

source3/smbd/quotas.c

index c2f001423e13bcca3a273c59f770d5cb33467312..5b843bd09a6e996eb6bd89a6bdf205ccd5a21e33 100644 (file)
@@ -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__) */