diff options
author | sos <sos@FreeBSD.org> | 2001-09-11 12:14:20 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2001-09-11 12:14:20 +0000 |
commit | 66fb1108f70e30471359782aabe9aeeaaae17e84 (patch) | |
tree | 0be294c1417ac691678b36663f795ae061045089 /usr.sbin/burncd | |
parent | 399133a3aa83702fc50a63338dcb0b627f25e47f (diff) | |
download | FreeBSD-src-66fb1108f70e30471359782aabe9aeeaaae17e84.zip FreeBSD-src-66fb1108f70e30471359782aabe9aeeaaae17e84.tar.gz |
Use getprogname(3) instead of hardcoding the name..
Diffstat (limited to 'usr.sbin/burncd')
-rw-r--r-- | usr.sbin/burncd/burncd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/burncd/burncd.c b/usr.sbin/burncd/burncd.c index 1fed34d..ed36255 100644 --- a/usr.sbin/burncd/burncd.c +++ b/usr.sbin/burncd/burncd.c @@ -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); } |