]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/whereami.c
Avoid link error due to duplicate definition of blocknr in hitag.c and hitagS.c ...
[proxmark3-svn] / client / whereami.c
index 7c09894f512f46e0020d2a2bad247f55968c4bfa..28277584eb1a7f474f135f9438fe821ebfd6415a 100644 (file)
@@ -261,7 +261,7 @@ int WAI_PREFIX(getModulePath)(char* out, int capacity, int* dirname_length)
       if (!fgets(buffer, sizeof(buffer), maps))
         break;
 
-      if (sscanf(buffer, "%" PRIx64 "-%" PRIx64 " %s %" PRIx64 " %x:%x %u %s\n", &low, &high, perms, &offset, &major, &minor, &inode, path) == 8)
+      if (sscanf(buffer, "%" SCNx64 "-%" SCNx64 " %s %" SCNx64 " %" SCNx32 ":%" SCNx32 " %" SCNu32 " %s\n", &low, &high, perms, &offset, &major, &minor, &inode, path) == 8)
       {
         uint64_t addr = (uint64_t)(uintptr_t)WAI_RETURN_ADDRESS();
         if (low <= addr && addr <= high)
Impressum, Datenschutz