summaryrefslogtreecommitdiff
path: root/src/vmware.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-28 14:11:59 +1000
committerDave Airlie <airlied@redhat.com>2009-07-28 14:11:59 +1000
commit0fddce5511b761206bb5f59dcd17652f15bda5ef (patch)
tree44f2a6c7fdd1e952a821638c2635f840c40dcc37 /src/vmware.c
parent4605e8d3a99ddcd75314051bd00b51d8ecee06a1 (diff)
vmware: fix resource removal properly
Diffstat (limited to 'src/vmware.c')
-rw-r--r--src/vmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmware.c b/src/vmware.c
index b1a9070..9ea9fff 100644
--- a/src/vmware.c
+++ b/src/vmware.c
@@ -118,7 +118,7 @@ static resRange vmwareLegacyRes[] = {
_VGA_EXCLUSIVE, _END
};
#else
-static int vmwareLegacyRes = 0;
+#define vmwareLegacyRes NULL
#endif
#if XSERVER_LIBPCIACCESS