This commit is contained in:
albert
2002-12-09 07:53:09 +00:00
parent 5087f3dbf6
commit b657e7e08a
7 changed files with 20 additions and 9 deletions

View File

@ -36,7 +36,7 @@ static unsigned int moreheaders=TRUE;
/////////////////////////////////////////////////////////////////////////
static void usage(void) NORETURN;
static void usage(void) {
fprintf(stderr,"usage: vmstat [-V] [-n] [delay [count]]\n");
fprintf(stderr," -V prints version.\n");
@ -47,6 +47,7 @@ static void usage(void) {
exit(EXIT_FAILURE);
}
static void crash(const char *filename) NORETURN;
static void crash(const char *filename) {
perror(filename);
exit(EXIT_FAILURE);