From owner-cvs-all@FreeBSD.ORG Thu Jan 15 10:35:34 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15BE716A4FB; Thu, 15 Jan 2004 10:35:34 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1EFF43D41; Thu, 15 Jan 2004 10:35:32 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0FIZW0B035319; Thu, 15 Jan 2004 10:35:32 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0FIZWrZ035318; Thu, 15 Jan 2004 10:35:32 -0800 (PST) (envelope-from jhb) Message-Id: <200401151835.i0FIZWrZ035318@repoman.freebsd.org> From: John Baldwin Date: Thu, 15 Jan 2004 10:35:32 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libstand stand.h zalloc_malloc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 18:35:35 -0000 jhb 2004/01/15 10:35:32 PST FreeBSD src repository Modified files: lib/libstand stand.h zalloc_malloc.c Log: - Print out line number in a panic message using %d rather than %p. Line numbers aren't pointers. - Add a __printflike() attribute to libstand's panic() prototype to catch such bogons in the future. Revision Changes Path 1.39 +1 -1 src/lib/libstand/stand.h 1.8 +1 -1 src/lib/libstand/zalloc_malloc.c