diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-02-23 22:05:18 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-02-24 13:26:44 +0100 |
commit | 248fab742d2b61557de93ac6e422986a8858bf52 (patch) | |
tree | 3d7fd35295b3bb7d5203733fdab221ae5e223686 /src/hostname/hostnamed.c | |
parent | f8901862b2b030921b3d5aba4157044ceab16451 (diff) |
virt: make Virtualization an anonymous enum
This makes llvm happy when we assign an error code to the variable.
Diffstat (limited to 'src/hostname/hostnamed.c')
-rw-r--r-- | src/hostname/hostnamed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index e57891bf0d..0f2455b69c 100644 --- a/src/hostname/hostnamed.c +++ b/src/hostname/hostnamed.c @@ -123,7 +123,7 @@ static const char* fallback_chassis(void) { int r; char *type; unsigned t; - Virtualization v; + int v; v = detect_virtualization(NULL); |