Clarify what non-zero return values mean.

This commit is contained in:
imp 2006-11-25 22:34:01 +00:00
parent 667552ba96
commit 9d7c37ad3d

View File

@ -87,8 +87,10 @@ Specifically, hooks are run at
which is immeidately after the scheduler is started, which is immeidately after the scheduler is started,
and just before the root file system device is discovered. and just before the root file system device is discovered.
.Sh RETURN VALUES .Sh RETURN VALUES
Zero return values mean success. A zero return value means the hook was successfully added to the queue
Non-zero return values mean failure. (with either deferred or immediate execution).
A non-zero return value means the hook could not be added to the queue
because it was already on the queue.
.Sh SEE ALSO .Sh SEE ALSO
.Xr DEVICE_ATTACH 9 .Xr DEVICE_ATTACH 9
.Sh HISTORY .Sh HISTORY