aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-03-07 15:57:09 +0000
committerChristian Grothoff <christian@grothoff.org>2010-03-07 15:57:09 +0000
commit9d7c6bd9f28c34d42a01d62473b295f3aed6766d (patch)
tree7e131ae408beec08d0836c2125ae0bcc2de9ed76
parent5368861f94913a92d8570e72e59f8f229e9d8097 (diff)
downloadlibextractor-9d7c6bd9f28c34d42a01d62473b295f3aed6766d.tar.gz
libextractor-9d7c6bd9f28c34d42a01d62473b295f3aed6766d.zip
fixed format string issue (Mantis 1544)
-rw-r--r--src/main/extractor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/extractor.c b/src/main/extractor.c
index f0442e4..20dcb2b 100644
--- a/src/main/extractor.c
+++ b/src/main/extractor.c
@@ -191,7 +191,7 @@ get_path_from_proc_exe() {
191 if (f != NULL) { 191 if (f != NULL) {
192 while (NULL != fgets(line, 1024, f)) { 192 while (NULL != fgets(line, 1024, f)) {
193 if ( (1 == sscanf(line, 193 if ( (1 == sscanf(line,
194 "%*x-%*x %*c%*c%*c%*c %*x %*2u:%*2u %*u%*[ ]%s", 194 "%*x-%*x %*c%*c%*c%*c %*x %*2x:%*2x %*u%*[ ]%s",
195 dir)) && 195 dir)) &&
196 (NULL != strstr(dir, 196 (NULL != strstr(dir,
197 "libextractor")) ) { 197 "libextractor")) ) {