From: Richard W.M. Jones Date: Fri, 14 Oct 2011 10:04:37 +0000 (+0100) Subject: helper/init: Display version and zlib support. X-Git-Tag: 3.11~1 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=f7dc4c47f593501e77e8cee8f4c9c2b3a62376f5;p=febootstrap.git helper/init: Display version and zlib support. --- diff --git a/helper/init.c b/helper/init.c index 447df8e..a1887a0 100644 --- a/helper/init.c +++ b/helper/init.c @@ -1,5 +1,5 @@ /* febootstrap-supermin-helper reimplementation in C. - * Copyright (C) 2009-2010 Red Hat Inc. + * Copyright (C) 2009-2011 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -79,7 +79,12 @@ main () mount_proc (); print_uptime (); - fprintf (stderr, "febootstrap: ext2 mini initrd starting up\n"); + fprintf (stderr, "febootstrap: ext2 mini initrd starting up: " + PACKAGE_VERSION +#ifdef HAVE_LIBZ + " zlib" +#endif + "\n"); /* Create some fixed directories. */ mkdir ("/dev", 0755);