diff options
author | ng0 <ng0@n0.is> | 2019-09-09 09:55:18 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-09 09:55:18 +0000 |
commit | c03c7227ba8ac9acc8992c2166a72bea383c09d6 (patch) | |
tree | 63d7e420f1d5cea38830a09c591aa851e345c060 /src/util/os_installation.c | |
parent | a4543a4105ca6cea2bd558aed8d2e87981d535ea (diff) | |
download | gnunet-c03c7227ba8ac9acc8992c2166a72bea383c09d6.tar.gz gnunet-c03c7227ba8ac9acc8992c2166a72bea383c09d6.zip |
plibc removal: sscanf, win32 socket corrections
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)))) |