forked from Lainports/opnsense-ports
13 lines
369 B
C
13 lines
369 B
C
--- part.c.orig 2017-12-31 07:40:55 UTC
|
|
+++ part.c
|
|
@@ -1767,8 +1767,8 @@ static int rec01(INT ni, OP vec)
|
|
/* to compute number of partitions */
|
|
{
|
|
INT erg = OK;
|
|
- if (ni<0) return;
|
|
- if (not EMPTYP(S_V_I(vec,ni))) return;
|
|
+ if (ni<0) return 0;
|
|
+ if (not EMPTYP(S_V_I(vec,ni))) return 0;
|
|
else if (ni<=1) M_I_I(1,S_V_I(vec,ni));
|
|
else {
|
|
|