diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-10-22 01:22:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-10-22 01:22:49 +0000 |
commit | 9512236f44ecbe71e8b9cf2ad6b95a7aa1ed2a5e (patch) | |
tree | 7bf43a8c91f26b88485f6bfb098c74b79b1a699a /usr.sbin/pcidump/pcidump.c | |
parent | a0f1bb02f65f26f5fd2e746e49ee8f36a2fae1dc (diff) |
lint says __progname is not const
Diffstat (limited to 'usr.sbin/pcidump/pcidump.c')
-rw-r--r-- | usr.sbin/pcidump/pcidump.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pcidump/pcidump.c b/usr.sbin/pcidump/pcidump.c index 55d5fed32e1..e52545274ba 100644 --- a/usr.sbin/pcidump/pcidump.c +++ b/usr.sbin/pcidump/pcidump.c @@ -39,7 +39,8 @@ int pci_read(int, int, int, u_int32_t, u_int32_t *); __dead void usage(void) { - extern const char *__progname; + extern char *__progname; + fprintf(stderr, "usage: %s [-v] [-d pcidev] [dev:bus:func]\n", __progname); exit(1); |