Make debug function in dsdiff.c usable