[apparmor] [PATCH] libapparmor: Check correct macro to prevent multiple apparmor.h includes
Tyler Hicks
tyhicks at canonical.com
Mon Nov 4 19:33:37 UTC 2013
This typo allowed apparmor.h to be pulled in multiple times.
Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
---
libraries/libapparmor/src/apparmor.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libraries/libapparmor/src/apparmor.h b/libraries/libapparmor/src/apparmor.h
index ecb000b..21c9e20 100644
--- a/libraries/libapparmor/src/apparmor.h
+++ b/libraries/libapparmor/src/apparmor.h
@@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _SYS_APPARMOR_H_
+#ifndef _SYS_APPARMOR_H
#define _SYS_APPARMOR_H 1
#include <stdint.h>
--
1.8.3.2
More information about the AppArmor
mailing list