diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-26 18:07:34 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-26 18:07:34 +0000 |
commit | 813e6af054fdcbfbf7a2222b80c873ba29a90e6e (patch) | |
tree | a866d018b981329f2a548dde61687e4de4e5ba57 /usr.sbin/dhcp/Makefile.inc | |
parent | 4af14c2d6f67af52937f1107de654c59989429ed (diff) |
when this project started and i added the fatal() function, I made it take
the error number as parameter instead of accessing errno, because in one
place the error number was not in errno but fetched from a socket.
now, of course it makes much more sense to just set errno to the error number
just fecthed in this one place instead of having hundreds of fatal() calls
all transfer the errno round and round and round...
fix this, and also provide a fatalx, which does not care for errno and doesn't
invoke strerror.
oh, btw, in the place where we fetch the err # from the socket, we don't
call fatal anymore anyway...
Diffstat (limited to 'usr.sbin/dhcp/Makefile.inc')
0 files changed, 0 insertions, 0 deletions