The change is pretty minor: in this piece of code:
execl(init, minus, 0);
just change the execl() line to say:
execl(init, init, 0);
I patched init in v5 and now ps shows /etc/init as expected, even
after going from multi to single to multi mode.
Looks like init.c was the same in v5 and v6.