kernel/auditsc.c: fix an off-by-one
authorAdrian Bunk <bunk@stusta.de>
Wed, 22 Aug 2007 21:01:05 +0000 (14:01 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 23 Aug 2007 02:52:44 +0000 (19:52 -0700)
commit88ae704c2aba150372e3d5c2f017c816773d09a7
treea275e81c2fb7411d77be1b71e3d873d68e6acea2
parent8e81cc13a88ce486a6b0a6ca56aba6985824917a
kernel/auditsc.c: fix an off-by-one

This patch fixes an off-by-one in a BUG_ON() spotted by the Coverity
checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Amy Griffis <amy.griffis@hp.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/auditsc.c