diff --git a/src/modules/os/os.c b/src/modules/os/os.c index 5a6123f1d..1e0d6842c 100644 --- a/src/modules/os/os.c +++ b/src/modules/os/os.c @@ -12,10 +12,10 @@ static void buildOutputDefault(const FFOSResult* os, FFstrbuf* result) { //Create the basic output - if(os->name.length > 0) - ffStrbufAppend(result, &os->name); - else if(os->prettyName.length > 0) + if(os->prettyName.length > 0) ffStrbufAppend(result, &os->prettyName); + else if(os->name.length > 0) + ffStrbufAppend(result, &os->name); else if(os->id.length > 0) ffStrbufAppend(result, &os->id); else