From d99a5cc31b45363a2b5eaa250859f9e798fa24c5 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Sat, 12 Nov 2016 21:46:06 +0100 Subject: [PATCH] policyrep: fix a mispelling in SWIG error message --- setools/policyrep/qpol.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setools/policyrep/qpol.i b/setools/policyrep/qpol.i index aba7a1c..ecd6957 100644 --- a/setools/policyrep/qpol.i +++ b/setools/policyrep/qpol.i @@ -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; };