Small fix to example program.

This commit is contained in:
Michael Kerrisk 2007-09-04 11:24:41 +00:00
parent 4df883b963
commit cec29a73f9
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ main(int argc, char *argv[])
break;
default: /* '?' */
fprintf(stderr, "Usage: %s [\-t nsecs] [\-n] name\\n",
argv[1]);
argv[0]);
exit(EXIT_FAILURE);
}
}