chardev/char.c: fix "abstract device type" error message