www.nico.schottelius.org/software/cinit/browse_source/cinit-0.2/generic/usage.c
Nico Schottelius 423ba10303 import cinit from unix.schottelius.org
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-09-16 12:53:45 +02:00

19 lines
460 B
C

/*
* (c) 2005 Nico Schottelius (nico-linux at schottelius.org)
* usage: tell the world what we want - no capitalism
* part of cLinux/cinit
*/
#include <unistd.h>
#include "cinit.h"
/***********************************************************************
* usage: tell the user what's wrong and a help text
*/
void usage(char *banner, char *text)
{
/* print banner + error message */
mini_printf(banner,1);
mini_printf(text,1);
_exit(1);
}