summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-10-14 11:04:37 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-10-14 11:04:37 +0100
commitf7dc4c47f593501e77e8cee8f4c9c2b3a62376f5 (patch)
tree03591dee0af3f36451093195c7b32b1f1e4dbba1
parent20a67e4e844a5be640edf3f7f183a89a083e92d0 (diff)
downloadfebootstrap-f7dc4c47f593501e77e8cee8f4c9c2b3a62376f5.zip
febootstrap-f7dc4c47f593501e77e8cee8f4c9c2b3a62376f5.tar.gz
febootstrap-f7dc4c47f593501e77e8cee8f4c9c2b3a62376f5.tar.xz
helper/init: Display version and zlib support.
-rw-r--r--helper/init.c9
1 files 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);