Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S274337AbUKBHDP (ORCPT ); Tue, 2 Nov 2004 02:03:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S767098AbUKBHDP (ORCPT ); Tue, 2 Nov 2004 02:03:15 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:54675 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S286760AbUKBHDF (ORCPT ); Tue, 2 Nov 2004 02:03:05 -0500 Date: Tue, 2 Nov 2004 08:03:02 +0100 (MET) From: Jan Engelhardt To: =?utf-8?q?Pawe=C5=82_Sikora?= cc: linux-kernel@vger.kernel.org Subject: Re: [oops] lib/vsprintf.c In-Reply-To: <200411020719.55570.pluto@pld-linux.org> Message-ID: References: <200411020719.55570.pluto@pld-linux.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 792 Lines: 31 >Hi, >static int km_init_module(void) >{ > printk(KERN_DEBUG "%s init\n", 1.4); > return 0; >} You do know that %s does not mix with 1.4? >vsprintf.c- case 's': >vsprintf.c- s = va_arg(args, char *); >vsprintf.c- if ((unsigned long)s < PAGE_SIZE) >vsprintf.c- s = ""; >vsprintf.c- >vsprintf.c: OOPS! => len = strnlen(s, precision); Jan Engelhardt -- Gesellschaft für Wissenschaftliche Datenverarbeitung Am Fassberg, 37077 Göttingen, www.gwdg.de - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/