Update xtrlock.c