Fix build on -current (#ifdef 0 -> #if 0)
This commit is contained in:
parent
faf39fbdee
commit
f3784c3d58
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68439
2 changed files with 31 additions and 0 deletions
11
sysutils/setquota/files/patch-ab
Normal file
11
sysutils/setquota/files/patch-ab
Normal file
|
@ -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;
|
20
sysutils/setquota/files/patch-ac
Normal file
20
sysutils/setquota/files/patch-ac
Normal file
|
@ -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
|
Loading…
Reference in a new issue