diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-10-20 21:26:38 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-10-20 21:26:38 +0000 |
commit | f3784c3d5856b8646c80ec91a56523fd6ccc4cfb (patch) | |
tree | c56294d39772f23359b106da9e48570c7ffde0a7 /sysutils/setquota | |
parent | Add NO_WERROR=1 to make warnings non-fatal (diff) |
Fix build on -current (#ifdef 0 -> #if 0)
Notes
Notes:
svn path=/head/; revision=68439
Diffstat (limited to 'sysutils/setquota')
-rw-r--r-- | sysutils/setquota/files/patch-ab | 11 | ||||
-rw-r--r-- | sysutils/setquota/files/patch-ac | 20 |
2 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/setquota/files/patch-ab b/sysutils/setquota/files/patch-ab new file mode 100644 index 000000000000..9657b54b3d45 --- /dev/null +++ b/sysutils/setquota/files/patch-ab @@ -0,0 +1,11 @@ +--- printquota.c.orig Sun Oct 20 14:27:13 2002 ++++ printquota.c Sun Oct 20 14:27:21 2002 +@@ -109,7 +109,7 @@ + + if (now == 0) + time(&now); +-#ifdef 0 ++#if 0 + if (now > seconds) + return("none"); + seconds -= now; diff --git a/sysutils/setquota/files/patch-ac b/sysutils/setquota/files/patch-ac new file mode 100644 index 000000000000..d50e038b8942 --- /dev/null +++ b/sysutils/setquota/files/patch-ac @@ -0,0 +1,20 @@ +--- setquota.c.orig Sun Oct 20 14:27:31 2002 ++++ setquota.c Sun Oct 20 14:27:41 2002 +@@ -62,7 +62,7 @@ + qm->dq_dqb.dqb_bhardlimit = v_bh; + if (f_bs) + qm->dq_dqb.dqb_bsoftlimit = v_bs; +-#ifdef 0 ++#if 0 + if (f_bg) + qm->dq_dqb.dqb_btime = v_bg; + #endif +@@ -70,7 +70,7 @@ + qm->dq_dqb.dqb_ihardlimit = v_ih; + if (f_is) + qm->dq_dqb.dqb_isoftlimit = v_is; +-#ifdef 0 ++#if 0 + if (f_ig) + qm->dq_dqb.dqb_itime = v_ig; + #endif |