Module Name:    src
Committed By:   pooka
Date:           Wed Jan 15 16:53:32 UTC 2014

Modified Files:
        src/usr.bin/rump_halt: rump.halt.c

Log Message:
use rumpuser_port.h


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/rump_halt/rump.halt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/rump_halt/rump.halt.c
diff -u src/usr.bin/rump_halt/rump.halt.c:1.3 src/usr.bin/rump_halt/rump.halt.c:1.4
--- src/usr.bin/rump_halt/rump.halt.c:1.3	Fri Sep 16 15:39:28 2011
+++ src/usr.bin/rump_halt/rump.halt.c	Wed Jan 15 16:53:32 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: rump.halt.c,v 1.3 2011/09/16 15:39:28 joerg Exp $	*/
+/*	$NetBSD: rump.halt.c,v 1.4 2014/01/15 16:53:32 pooka Exp $	*/
 
 /*-
  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
@@ -25,9 +25,11 @@
  * SUCH DAMAGE.
  */
 
+#include <rump/rumpuser_port.h>
+
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: rump.halt.c,v 1.3 2011/09/16 15:39:28 joerg Exp $");
+__RCSID("$NetBSD: rump.halt.c,v 1.4 2014/01/15 16:53:32 pooka Exp $");
 #endif /* !lint */
 
 #include <sys/types.h>
@@ -45,6 +47,10 @@ __RCSID("$NetBSD: rump.halt.c,v 1.3 2011
 
 #define ARGFLAGS "dhn"
 
+#ifndef PLATFORM_HAS_SETGETPROGNAME
+#define getprogname() "rump_halt"
+#endif
+
 __dead static void
 usage(void)
 {

Reply via email to