diff options
Diffstat (limited to 'src/util/os_installation.c')
-rw-r--r-- | src/util/os_installation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c index 656468707..8d9c6e622 100644 --- a/src/util/os_installation.c +++ b/src/util/os_installation.c | |||
@@ -156,7 +156,7 @@ get_path_from_proc_maps() | |||
156 | return NULL; | 156 | return NULL; |
157 | while (NULL != fgets(line, sizeof(line), f)) | 157 | while (NULL != fgets(line, sizeof(line), f)) |
158 | { | 158 | { |
159 | if ((1 == SSCANF(line, | 159 | if ((1 == sscanf(line, |
160 | "%*x-%*x %*c%*c%*c%*c %*x %*2x:%*2x %*u%*[ ]%1023s", | 160 | "%*x-%*x %*c%*c%*c%*c %*x %*2x:%*2x %*u%*[ ]%1023s", |
161 | dir)) && | 161 | dir)) && |
162 | (NULL != (lgu = strstr(dir, current_pd->libname)))) | 162 | (NULL != (lgu = strstr(dir, current_pd->libname)))) |