Switch back to root to call quotactl(2), our kernel has too strict
permision checks.

Index: source3/lib/sysquotas_4B.c
--- source3/lib/sysquotas_4B.c.orig
+++ source3/lib/sysquotas_4B.c
@@ -51,7 +51,7 @@
 #include <jfs/quota.h>
 #endif
 
-#if defined(DARWINOS)
+#if defined(DARWINOS) || defined(__OpenBSD__)
 /* WorkARound broken HFS access checks in hfs_quotactl. Darwin only(?) */
 #define HFS_QUOTACTL_WAR 1
 #endif
@@ -135,7 +135,7 @@ static int sys_quotactl_4B(const char * path, int cmd,
 	become_root();
 #endif  /* HFS_QUOTACTL_WAR */
 
-	ret = quotactl(path, cmd, id, qblk);
+	ret = quotactl(path, cmd, id, (char *)qblk);
 	if (ret == -1) {
 		/* ENOTSUP means quota support is not compiled in. EINVAL
 		 * means that quotas are not configured (commonly).
