aboutsummaryrefslogtreecommitdiffstats
path: root/bin/common.c
blob: 0a5f5c53f4c82f391a3ee365356e3e1bd7797b0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
#include <errno.h>

#include "common.h"

void bail_out(const char* msg)
{
	perror(msg);
	exit(-1 * errno);
}