summaryrefslogtreecommitdiff
path: root/modules/computer
diff options
context:
space:
mode:
Diffstat (limited to 'modules/computer')
-rw-r--r--modules/computer/os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/computer/os.c b/modules/computer/os.c
index ab887547..5d06d44b 100644
--- a/modules/computer/os.c
+++ b/modules/computer/os.c
@@ -66,7 +66,7 @@ get_libc_version(void)
if (libs[i].try_ver_str) {
/* skip the first word, likely "ldconfig" or name of utility */
- ver_str = strstr(p, " ");
+ ver_str = strchr(p, ' ');
if (ver_str)
ver_str++;
}