summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Danilov <nikita@clusterfs.com>2005-10-31 02:03:10 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-31 04:37:26 +0300
commitc0398ee6c2fe3c1743ecc74a6378b67ba0880a4f (patch)
tree7cf685c6bf404b7c1a063ecf47af1273f60d72c7
parented8b39d0aaea90df528ebe3756cbef8f735a93e6 (diff)
downloadlinux-c0398ee6c2fe3c1743ecc74a6378b67ba0880a4f.tar.xz
[PATCH] include/linux/kernel.h:BUILD_BUG_ON(): fix a comment
Fix comment describing BUILD_BUG_ON: BUG_ON is not an assertion (unfortunately). Signed-off-by: Nikita Danilov <nikita@clusterfs.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--include/linux/kernel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 4367ce4db52a..f1925ccc9fe1 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -307,7 +307,7 @@ struct sysinfo {
char _f[20-2*sizeof(long)-sizeof(int)]; /* Padding: libc5 uses this.. */
};
-/* Force a compilation error if condition is false */
+/* Force a compilation error if condition is true */
#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
#ifdef CONFIG_SYSCTL