Turns out /proc/cmdline can have trailing blanks, deal with it...