From a07f0b040808c7b1a3b81cbbe3a580f023450817 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 22 Oct 1999 19:49:09 +0000 Subject: [PATCH] More stuff. --- Changelog | 2 ++ Makefile | 2 +- utility.c | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index ab113a644..fe2c6b1bc 100644 --- a/Changelog +++ b/Changelog @@ -1,4 +1,6 @@ 0.32 + * usage() now printf the BusyBox version. This will help folks + realize that they are not in Kansas anymore. * Fixed mkdir -m option so that it works. 0.31 diff --git a/Makefile b/Makefile index 9701f4f0a..d1d0426d2 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ ifndef $(prefix) endif BINDIR=$(prefix) -LIBRARIES=-lc +LIBRARIES= OBJECTS=$(shell ./busybox.sh) CFLAGS+= -DBB_VER='"$(VERSION)"' CFLAGS+= -DBB_BT='"$(BUILDTIME)"' diff --git a/utility.c b/utility.c index 421492dca..124efda40 100644 --- a/utility.c +++ b/utility.c @@ -39,6 +39,7 @@ /* volatile so gcc knows this is the enod of the line */ volatile void usage(const char *usage) { + fprintf(stderr, "BusyBox v%s (%s) multi-call binary -- GPL2\n\n", BB_VER, BB_BT); fprintf(stderr, "Usage: %s\n", usage); exit(FALSE); }