Re: [PATCH] kernel/sysctl.c: Fix build failure with !CONFIG_PRINTK

From: Eric Paris
Date: Tue Nov 16 2010 - 00:36:44 EST


On Mon, 2010-11-15 at 21:17 -0800, Joe Perches wrote:
> Sigh...
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>

eparis fails again.

Acked-by: Eric Paris <eparis@xxxxxxxxxx>

> ---
> kernel/sysctl.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/sysctl.c b/kernel/sysctl.c
> index b65bf63..5abfa15 100644
> --- a/kernel/sysctl.c
> +++ b/kernel/sysctl.c
> @@ -702,7 +702,6 @@ static struct ctl_table kern_table[] = {
> .extra1 = &zero,
> .extra2 = &ten_thousand,
> },
> -#endif
> {
> .procname = "dmesg_restrict",
> .data = &dmesg_restrict,
> @@ -712,6 +711,7 @@ static struct ctl_table kern_table[] = {
> .extra1 = &zero,
> .extra2 = &one,
> },
> +#endif
> {
> .procname = "ngroups_max",
> .data = &ngroups_max,
>
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/