aboutsummaryrefslogtreecommitdiff
path: root/modules/computer
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2017-07-07 16:51:47 -0500
committerLeandro Pereira <leandro@hardinfo.org>2017-07-09 11:54:46 -0700
commite90fd9382e0ab43e9112ce464bb7a085ccd32fd0 (patch)
treec05dd106986d2ae03591fcc6ee47a583c268af2f /modules/computer
parent96a00daadfa934741440d5c3f0547a9a992b34ec (diff)
libc detection cosmetic fix
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/computer')
-rw-r--r--modules/computer/os.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/computer/os.c b/modules/computer/os.c
index 3833a723..0de41a57 100644
--- a/modules/computer/os.c
+++ b/modules/computer/os.c
@@ -33,9 +33,9 @@ get_libc_version(void)
const char *lib_name;
int try_ver_str;
} libs[] = {
- { .test_cmd = "ldconfig -V", .match_str = "GLIBC", .lib_name = "GNU C Library", 1 },
- { .test_cmd = "ldconfig -v", .match_str = "uClibc", .lib_name = "uClibc or uClibc-ng", 0 },
- { .test_cmd = "diet 2>&1", .match_str = "diet version", .lib_name = "diet libc", 1 },
+ { "ldconfig -V", "GLIBC", "GNU C Library", 1 },
+ { "ldconfig -v", "uClibc", "uClibc or uClibc-ng", 0 },
+ { "diet 2>&1", "diet version", "diet libc", 1 },
{ NULL, NULL, NULL, 0 },
};
int i = 0;