[Devel] [PATCH 1/2] use #error not #warn

Serge E. Hallyn serue at us.ibm.com
Wed Apr 28 19:48:20 PDT 2010


(against -rc7)

Sorry my bad, I think i said #warn before, but my compiler doesn't
like that.

Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
---
 include/linux/checkpoint_hdr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/checkpoint_hdr.h b/include/linux/checkpoint_hdr.h
index 790214f..eb5e1b4 100644
--- a/include/linux/checkpoint_hdr.h
+++ b/include/linux/checkpoint_hdr.h
@@ -18,7 +18,7 @@
 #include <linux/in6.h>
 
 #ifndef CONFIG_CHECKPOINT
-#warn linux/checkpoint_hdr.h included directly (without CONFIG_CHECKPOINT)
+#error linux/checkpoint_hdr.h included directly (without CONFIG_CHECKPOINT)
 #endif
 
 #else /* __KERNEL__ */
-- 
1.7.0.4

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list