Parcourir la source

printf-ed wrong

tarfeef101 il y a 6 ans
Parent
commit
25e82d303f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      kern/synchprobs/traffic_synch.c

+ 1 - 1
kern/synchprobs/traffic_synch.c

@@ -56,7 +56,7 @@ static void activeinit(void)
   for (int i = 0; i < 12; ++i)
   {
     *(active + i) = NULL;
-    kprintf("array at i: %d", *(active + i));
+    kprintf("array at i: %p", *(active + i));
   }
 }