Fixed print format specifier for long to hex; was: %X now: %lX