freebsd-ports/security/super/files/patch-utils.c
David E. O'Brien 9f3f02941b Fix a problem of poor testing where due to an overload of #ifdef's, the
default "return 0;" of an int returning function was never executed;
causing what ever was in the return register to be "it".
2003-07-13 22:10:16 +00:00

14 lines
243 B
C

--- utils.c.orig Mon Jun 16 15:34:14 2003
+++ utils.c Sun Jul 13 15:06:15 2003
@@ -1272,9 +1272,10 @@
if (add_variable("SI_SYSNAME", buf) == -1)
return -1;
}
- return 0;
#endif
#endif
+
+ return 0;
}
#ifdef HAVE_UNAME