Stupid thinko. egrep tried to call init. Sigh. Fix from Christophe Boyanique
authorEric Andersen <andersen@codepoet.org>
Fri, 16 Mar 2001 23:49:20 +0000 (23:49 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 16 Mar 2001 23:49:20 +0000 (23:49 -0000)
applets.h
include/applets.h

index c02bf42edc94577f4561fd5f1c38814ef94d33a5..f7f68cd8d91c27c6941c7c2468698de8affc67f2 100644 (file)
--- a/applets.h
+++ b/applets.h
        APPLET(echo, echo_main, _BB_DIR_BIN)
 #endif
 #if defined(BB_FEATURE_GREP_EGREP_ALIAS) && defined(BB_GREP)
-       APPLET_NOUSAGE("egrep", init_main, _BB_DIR_BIN)
+       APPLET_NOUSAGE("egrep", grep_main, _BB_DIR_BIN)
 #endif
 #ifdef BB_EXPR
        APPLET(expr, expr_main, _BB_DIR_USR_BIN)
index c02bf42edc94577f4561fd5f1c38814ef94d33a5..f7f68cd8d91c27c6941c7c2468698de8affc67f2 100644 (file)
        APPLET(echo, echo_main, _BB_DIR_BIN)
 #endif
 #if defined(BB_FEATURE_GREP_EGREP_ALIAS) && defined(BB_GREP)
-       APPLET_NOUSAGE("egrep", init_main, _BB_DIR_BIN)
+       APPLET_NOUSAGE("egrep", grep_main, _BB_DIR_BIN)
 #endif
 #ifdef BB_EXPR
        APPLET(expr, expr_main, _BB_DIR_USR_BIN)