diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-03-09 19:48:02 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-03-09 19:48:02 +0100 |
commit | 34df5a34e1d0ac4bba453fb5f52f18a2f5f260f9 (patch) | |
tree | a8679136892e5f457a36b98c596e102c6f8ce9ca /src/util.c | |
parent | cc5524ecc60a83fb88cac02fe02e21cde3951a25 (diff) |
drop unnecessary suffix NULs as gcc adds them anyway
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/util.c b/src/util.c index 96cf6605f3..4acb3c305c 100644 --- a/src/util.c +++ b/src/util.c @@ -3820,8 +3820,7 @@ int detect_vm(const char **id) { "Microsoft Corporation\0" "microsoft\0" "innotek GmbH\0" "oracle\0" "Xen\0" "xen\0" - "Bochs\0" "bochs\0" - "\0"; + "Bochs\0" "bochs\0"; static const char cpuid_vendor_table[] = "XenVMMXenVMM\0" "xen\0" @@ -3829,8 +3828,7 @@ int detect_vm(const char **id) { /* http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1009458 */ "VMwareVMware\0" "vmware\0" /* http://msdn.microsoft.com/en-us/library/ff542428.aspx */ - "Microsoft Hv\0" "microsoft\0" - "\0"; + "Microsoft Hv\0" "microsoft\0"; uint32_t eax, ecx; union { |