chqflag.c: convert to bankdev (nw)