about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 85f394c1..4691d5fc 100755
--- a/src/main.c
+++ b/src/main.c
@@ -517,7 +517,7 @@ void LoadLogEnv()
     p = getenv("BOX64_DYNAREC_HOTPAGE");
     if(p) {
         int val = -1;
-        if(sscanf("%d", p, &val)==1) {
+        if(sscanf(p, "%d", &val)==1) {
             if(val>=0)
                 box64_dynarec_hotpage = val;
         }