[Isisalsa-devel] [PATCH maxiinit] use return value from iopl correctly
Status: Inactive
Brought to you by:
jeanseb
|
From: Jeremy K. <jk...@oz...> - 2005-03-08 10:26:16
|
Hi all, This patch (against CVS maxiinit) corrects the use of the return value of iopl(). At present, errors are not caught (iopl will only return 0 or -1 - never EPERM), and running maxiinit as a non-root user will just segfault. This prints out the intended error instead. Jeremy |