summaryrefslogtreecommitdiff
path: root/ucoo/arch/arch.host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/arch/arch.host.cc')
-rw-r--r--ucoo/arch/arch.host.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/ucoo/arch/arch.host.cc b/ucoo/arch/arch.host.cc
index 1ddd6a9..431b776 100644
--- a/ucoo/arch/arch.host.cc
+++ b/ucoo/arch/arch.host.cc
@@ -63,6 +63,13 @@ halt ()
}
void
+halt (const char *msg)
+{
+ fprintf (stderr, "halt: %s\n", msg);
+ abort ();
+}
+
+void
halt_perror ()
{
perror ("halt");