projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22b889a
)
Add missing dependency -- interface.c needs get_kernel_revision.
author
Manuel Novoa III
<mjn3@codepoet.org>
Mon, 12 Mar 2001 10:00:17 +0000
(10:00 -0000)
committer
Manuel Novoa III
<mjn3@codepoet.org>
Mon, 12 Mar 2001 10:00:17 +0000
(10:00 -0000)
utility.c
patch
|
blob
|
history
diff --git
a/utility.c
b/utility.c
index 092cfdb10d20b069fd135800e95ebd126badff91..e54a3ea65d3f49b240fc3112df24e91b07d9498f 100644
(file)
--- a/
utility.c
+++ b/
utility.c
@@
-155,7
+155,7
@@
extern void perror_msg_and_die(const char *s, ...)
exit(EXIT_FAILURE);
}
-#if defined BB_INIT || defined BB_MKSWAP || defined BB_MOUNT || defined BB_NFSMOUNT
+#if defined BB_INIT || defined BB_MKSWAP || defined BB_MOUNT || defined BB_NFSMOUNT
|| defined BB_FEATURE_IFCONFIG_STATUS
/* Returns kernel version encoded as major*65536 + minor*256 + patch,
* so, for example, to check if the kernel is greater than 2.2.11:
* if (get_kernel_revision() <= 2*65536+2*256+11) { <stuff> }