summaryrefslogtreecommitdiff
path: root/src/shared/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/shared/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/shared/virt.c')
-rw-r--r--src/shared/virt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/virt.c b/src/shared/virt.c
index c79d35db4d..ec2ddcfe67 100644
--- a/src/shared/virt.c
+++ b/src/shared/virt.c
@@ -278,7 +278,7 @@ finish:
}
/* Returns a short identifier for the various VM/container implementations */
-Virtualization detect_virtualization(const char **id) {
+int detect_virtualization(const char **id) {
int r;
r = detect_container(id);