diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-14 06:45:34 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-14 06:45:34 +0000 |
commit | 7ccfb2eb5f9d91bdb4139cb420a3b5f8deb2f6e8 (patch) | |
tree | 29ccfd792bcd8109ef331d031b6f04d89b99b310 /hw/e1000.c | |
parent | 5d0c5750bb19212c8ecfb9660956611baf6aa861 (diff) |
Fix warnings that would be caused by gcc flag -Wwrite-strings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5206 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/e1000.c')
-rw-r--r-- | hw/e1000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/e1000.c b/hw/e1000.c index d52f1f03b1..a8dcd1ad6c 100644 --- a/hw/e1000.c +++ b/hw/e1000.c @@ -949,7 +949,7 @@ pci_e1000_init(PCIBus *bus, NICInfo *nd, int devfn) E1000State *d; uint8_t *pci_conf; uint16_t checksum = 0; - char *info_str = "e1000"; + static const char info_str[] = "e1000"; int i; d = (E1000State *)pci_register_device(bus, "e1000", |