Sync usage with man page.
[netbsd-mini2440.git] / usr.bin / sdiff / common.c
blob187b659c2ea6fca816a61da2bac8e4006293b5ea
1 /* $NetBSD$ */
2 /* $OpenBSD: common.c,v 1.4 2006/05/25 03:20:32 ray Exp $ */
4 /*
5 * Written by Raymond Lai <ray@cyth.net>.
6 * Public domain.
7 */
9 #include <err.h>
10 #include <stdlib.h>
11 #include <unistd.h>
13 #include "common.h"
15 void
16 cleanup(const char *filename)
18 if (unlink(filename))
19 err(2, "could not delete: %s", filename);
20 exit(2);