From f7dc4c47f593501e77e8cee8f4c9c2b3a62376f5 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 14 Oct 2011 11:04:37 +0100 Subject: [PATCH] helper/init: Display version and zlib support. --- helper/init.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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); -- 1.8.3.1