Use getprogname(3) instead of hardcoding the name..

This commit is contained in:
Søren Schmidt 2001-09-11 12:14:20 +00:00
parent 869ef2e75f
commit 458f42f154
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83339

View File

@ -538,7 +538,7 @@ void
usage(void)
{
fprintf(stderr,
"Usage: burncd [-delmpqtv] [-f device] [-s speed] [command]"
" [command file ...]\n");
"Usage: %s [-delmpqtv] [-f device] [-s speed] [command]"
" [command file ...]\n", getprogname());
exit(EX_USAGE);
}