From 7f32b812ffb7257995e3091074403c368381fb72 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sat, 21 Oct 2006 14:41:16 +0000 Subject: [PATCH] move redhat-release check after vmware --- src/os/linux/linux_sigar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/linux/linux_sigar.c b/src/os/linux/linux_sigar.c index 85a8e7d9..1c2a34b9 100644 --- a/src/os/linux/linux_sigar.c +++ b/src/os/linux/linux_sigar.c @@ -2213,13 +2213,13 @@ typedef struct { } linux_vendor_info_t; static linux_vendor_info_t linux_vendors[] = { - { "Red Hat", "/etc/redhat-release", redhat_vendor_parse }, { "Fedora", "/etc/fedora-release", NULL }, { "SuSE", "/etc/SuSE-release", NULL }, { "Gentoo", "/etc/gentoo-release", NULL }, { "Slackware", "/etc/slackware-version", NULL }, { "Mandrake", "/etc/mandrake-release", NULL }, { "VMware", "/proc/vmware/version", NULL }, + { "Red Hat", "/etc/redhat-release", redhat_vendor_parse }, { "lsb", "/etc/lsb-release", lsb_vendor_parse }, { "Debian", "/etc/debian_version", NULL }, { NULL }