diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2007-09-25 11:35:01 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2007-09-25 11:35:01 +0000 |
commit | abdbca130827f2345d4090bc5c66b81fce25d0e0 (patch) | |
tree | 7363e8027a90b9485818fd9ea5e6ac1e83157569 /sys/dev/microcode | |
parent | 733bab3ca6eda50ba4bc43b20ed4cb96c25aff1b (diff) |
handle empty strings returned by fgets
use strcspn to properly overwrite '\n' in fgets returned buffer
ok ray@
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions