summaryrefslogtreecommitdiff
path: root/src/detect-virt/detect-virt.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-02-23 22:05:18 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-24 13:26:44 +0100
commit248fab742d2b61557de93ac6e422986a8858bf52 (patch)
tree3d7fd35295b3bb7d5203733fdab221ae5e223686 /src/detect-virt/detect-virt.c
parentf8901862b2b030921b3d5aba4157044ceab16451 (diff)
virt: make Virtualization an anonymous enum
This makes llvm happy when we assign an error code to the variable.
Diffstat (limited to 'src/detect-virt/detect-virt.c')
-rw-r--r--src/detect-virt/detect-virt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/detect-virt/detect-virt.c b/src/detect-virt/detect-virt.c
index 2f8b0ebbbc..8cf8dcfabc 100644
--- a/src/detect-virt/detect-virt.c
+++ b/src/detect-virt/detect-virt.c
@@ -129,7 +129,7 @@ int main(int argc, char *argv[]) {
switch (arg_mode) {
case ANY_VIRTUALIZATION: {
- Virtualization v;
+ int v;
v = detect_virtualization(&id);
if (v < 0) {