diff options
author | Burt P <pburt0@gmail.com> | 2019-07-07 13:40:10 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2019-07-10 12:24:36 -0700 |
commit | 23346a954ffb08b115cd45ea2a40f995e3441f8b (patch) | |
tree | 2193891f38af48a28076f714b42f6beb15f15405 /modules/computer/os.c | |
parent | 1a6086f6e16db1536e04050a0ac2637cc0f7d8b8 (diff) |
UbuntuFlavor -> DistroFlavor: perhaps more easily used by non-ubuntu distros
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/computer/os.c')
-rw-r--r-- | modules/computer/os.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/computer/os.c b/modules/computer/os.c index dae93761..ab557fa6 100644 --- a/modules/computer/os.c +++ b/modules/computer/os.c @@ -21,7 +21,7 @@ #include <sys/utsname.h> #include "hardinfo.h" #include "computer.h" -#include "ubuntu_flavors.h" +#include "distro_flavors.h" static gchar * get_libc_version(void) @@ -536,7 +536,7 @@ computer_get_os(void) GSList *flavs = ubuntu_flavors_scan(); if (flavs) { /* just use the first one */ - os->ubuntu_flavor = (UbuntuFlavor*)flavs->data; + os->distro_flavor = (DistroFlavor*)flavs->data; } g_slist_free(flavs); } |