diff options
author | 2010-07-15 18:23:50 +0000 | |
---|---|---|
committer | 2010-07-15 18:23:50 +0000 | |
commit | 7a6efebc84ac15fc4b596886b91780ea44e8d79c (patch) | |
tree | f1ccb6015cad87cfb01bc852dafe236de5cfa92c /lib/libc/regex | |
parent | Use warnx instead of warn since errno wasn't set. From diff. (diff) | |
download | wireguard-openbsd-7a6efebc84ac15fc4b596886b91780ea44e8d79c.tar.xz wireguard-openbsd-7a6efebc84ac15fc4b596886b91780ea44e8d79c.zip |
Die immediately if pread fails. It's a fatal error so treat it as
such. Besides, we weren't handling the NULL being returned.
From diff. Minor nit by nicm.
OK xsa stsp nicm
Diffstat (limited to 'lib/libc/regex')
0 files changed, 0 insertions, 0 deletions