traps.c: Fix 3.4.77 merge