mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
code can read the buffer via sysctl or from a core file. In the core file case there will be no nulterm, and the code copes with that, but now in the sysctl case there is a nulterm (there didn't used to be). The least disruptive way to restore the old behavior (and eliminate a spurious '\000' at the end of the output) is to remove the nulterm (by decrementing the buffer length) in the sysctl case. |
||
|---|---|---|
| .. | ||
| dmesg.8 | ||
| dmesg.c | ||
| Makefile | ||