mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-29 14:56:21 +00:00
Merge pull request #157 from fishilico/swig-exception-typo
policyrep: fix a mispelling in SWIG error message
This commit is contained in:
commit
e434c1e688
@ -1138,7 +1138,7 @@ typedef struct qpol_iterator {} qpol_iterator_t;
|
||||
%extend qpol_iterator {
|
||||
/* user never directly creates, but SWIG expects a constructor */
|
||||
qpol_iterator() {
|
||||
SWIG_exception(SWIG_TypeError, "User may not create iterators difectly");
|
||||
SWIG_exception(SWIG_TypeError, "User may not create iterators directly");
|
||||
fail:
|
||||
return NULL;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user