Fix e0bbe426

Last commit clearly was untested.  Don't commit on an airport, ever.

- NUL-terminate string before handing it off to strchrnul().
- Fix off-by-one (NUL byte).
- Fix spelling.

Signed-off-by: Joern Engel <joern@logfs.org>
1 file changed
tree: de87ca7f8aa7d84ce319f017bf0495e21bd72454
  1. cancd.c
  2. cancd.init
  3. cancd.spec
  4. kernel-list.h
  5. Makefile