pass_fd.c: logging: convert LOG to LM_*