diff options
author | ray <> | 2007-02-20 01:44:16 +0000 |
---|---|---|
committer | ray <> | 2007-02-20 01:44:16 +0000 |
commit | 22b5b07292a5ad742550ecedb80014dfc232ccca (patch) | |
tree | 6a33bc2e5f85255d7ac5f8ca6c1cf7b309ea8617 /src/lib/libc/string/strerror_r.c | |
parent | a7d89787c37651709879a99ae7952b28afec63b7 (diff) | |
download | openbsd-22b5b07292a5ad742550ecedb80014dfc232ccca.tar.gz openbsd-22b5b07292a5ad742550ecedb80014dfc232ccca.tar.bz2 openbsd-22b5b07292a5ad742550ecedb80014dfc232ccca.zip |
Change hard coded numbers to sizeof(buf). Also change some
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size.
Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago.
OK millert@.
Diffstat (limited to 'src/lib/libc/string/strerror_r.c')
0 files changed, 0 insertions, 0 deletions