aboutsummaryrefslogtreecommitdiffstats
path: root/handerror.c
blob: 753e834b75f8b506cd0fc7f051fc09b6d614ec1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>
#include <stdlib.h>

void callError(int num)
{
	fprintf(stderr, "lpass: Sorry, there was an error in the program [#%d]\n", num);
	exit(3);
}

void printError(char *text)
{
	fprintf(stderr, "%s", text);
	exit(4);
}