diff options
author | Laslo Hunhold <dev@frign.de> | 2018-04-11 12:48:50 +0200 |
---|---|---|
committer | Laslo Hunhold <dev@frign.de> | 2018-04-11 12:48:50 +0200 |
commit | d9c382a9d873c8758f518c6aa7e6c32cf3ea7b89 (patch) | |
tree | 9672252ec27b8c76bfe502669c3b182a4a6f8c1b /ff2pam.c | |
parent | a2e07745e6e31231dd59bd1d4a3415a5f4042d0c (diff) |
Add warn() and die()
To fully centralize this matter these well-tested functions are added to
the util.c, and implemented as we know it from many other suckless
projects.
Diffstat (limited to 'ff2pam.c')
-rw-r--r-- | ff2pam.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -14,8 +14,7 @@ static void usage(void) { - fprintf(stderr, "usage: %s\n", argv0); - exit(1); + die("usage: %s", argv0); } int |