diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-02-22 00:19:03 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-02-22 00:19:03 +0100 |
commit | 4e08da90d4df797308d4646af345cfc0486b06d1 (patch) | |
tree | 3b96d0086a7afa0bd1c5a4a8ea76933ec0d78fc3 /src/util.c | |
parent | b7ff1e47da4653d2ff1ec7b489e6067fed29d8c5 (diff) |
util: make string static
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c index 7e8246bb61..aa49390b87 100644 --- a/src/util.c +++ b/src/util.c @@ -3719,7 +3719,7 @@ int detect_vm(const char **id) { "/sys/class/dmi/id/bios_vendor" }; - const char dmi_vendor_table[] = + static const char dmi_vendor_table[] = "QEMU\0" "qemu\0" /* http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1009458 */ "VMware\0" "vmware\0" @@ -3729,7 +3729,7 @@ int detect_vm(const char **id) { "Xen\0" "xen\0" "\0"; - const char cpuid_vendor_table[] = + static const char cpuid_vendor_table[] = "XenVMMXenVMM\0" "xen\0" "KVMKVMKVM\0" "kvm\0" /* http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1009458 */ |