aboutsummaryrefslogtreecommitdiffstats
path: root/bin/common.c
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2008-05-02 11:19:55 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2008-05-02 11:19:55 -0400
commit19fdd6f62388ed4373d28ca55b1c63e2fd62bb2f (patch)
treec62267cc060716e796e930e08f8d6c485693edf9 /bin/common.c
parent9b85a6e707adff71ea3b329756f2b854fbdc6b0b (diff)
add be task migration support to rt_launch
Diffstat (limited to 'bin/common.c')
-rw-r--r--bin/common.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/common.c b/bin/common.c
new file mode 100644
index 0000000..0a5f5c5
--- /dev/null
+++ b/bin/common.c
@@ -0,0 +1,10 @@
1#include <stdio.h>
2#include <errno.h>
3
4#include "common.h"
5
6void bail_out(const char* msg)
7{
8 perror(msg);
9 exit(-1 * errno);
10}