diff options
| author | martin <martin@NetBSD.org> | 2013-05-16 19:19:44 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2013-05-16 19:19:44 +0000 |
| commit | b957cd313fa8cedc4b6a899f500a11c256210216 (patch) | |
| tree | 32c57d4520d1543597e1e1ccc188525433bc9662 /sys/dev | |
| parent | e5b64c4934f323cedaab50ddcbfe9b62c21e45a1 (diff) | |
var_get_memory():
if no eol is found in the string we set "next" to NULL, assign it
to "buf" and then check the loop condition by dereferencing it - which
does not work well.
Change the loop condition to first check for buf == NULL.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions
