summaryrefslogtreecommitdiff
path: root/usr.sbin/pcidump/pcidump.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-22 01:22:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-22 01:22:49 +0000
commit9512236f44ecbe71e8b9cf2ad6b95a7aa1ed2a5e (patch)
tree7bf43a8c91f26b88485f6bfb098c74b79b1a699a /usr.sbin/pcidump/pcidump.c
parenta0f1bb02f65f26f5fd2e746e49ee8f36a2fae1dc (diff)
lint says __progname is not const
Diffstat (limited to 'usr.sbin/pcidump/pcidump.c')
-rw-r--r--usr.sbin/pcidump/pcidump.c3
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);