summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boot/ChangeLog5
-rw-r--r--boot/boot.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/boot/ChangeLog b/boot/ChangeLog
index 670e3f28..5457e53d 100644
--- a/boot/ChangeLog
+++ b/boot/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-13 Marcus Brinkmann <marcus@gnu.org>
+
+ * boot.c: Include <version.h>
+ (argp_program_version): New variable.
+
2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca>
* boot.c (main): Use error, not perror and exit.
diff --git a/boot/boot.c b/boot/boot.c
index 01d0be25..f3af5ef8 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -37,6 +37,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <argp.h>
#include <hurd/store.h>
#include <sys/mman.h>
+#include <version.h>
#include "notify_S.h"
#include "exec_S.h"
@@ -393,6 +394,8 @@ boot_script_exec_cmd (void *hook,
return 0;
}
+const char *argp_program_version = STANDARD_HURD_VERSION (boot);
+
static struct argp_option options[] =
{
{ "boot-root", 'D', "DIR", 0,