From owner-freebsd-audit Sat Jul 21 13:52:43 2001 Delivered-To: freebsd-audit@freebsd.org Received: from assaris.sics.se (dhcp113.iss.kth.se [130.237.7.113]) by hub.freebsd.org (Postfix) with ESMTP id B677D37B405; Sat, 21 Jul 2001 13:52:40 -0700 (PDT) (envelope-from assar@assaris.sics.se) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.9.3) id WAA26211; Sat, 21 Jul 2001 22:52:58 +0200 (CEST) (envelope-from assar) To: des@freebsd.org, audit@freebsd.org Subject: subf_printf warnings in linprocfs.c:linprocfs_donetdev From: Assar Westerlund Date: 21 Jul 2001 22:52:58 +0200 Message-ID: <5lofqeknrp.fsf@assaris.sics.se> Lines: 22 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This gets rid of warnings from gcc's printf. Comments? /assar Index: linprocfs.c =================================================================== RCS file: /home/ncvs/src/sys/compat/linprocfs/linprocfs.c,v retrieving revision 1.33 diff -u -w -u -w -r1.33 linprocfs.c --- linprocfs.c 2001/07/05 17:10:41 1.33 +++ linprocfs.c 2001/07/21 20:51:38 @@ -663,8 +663,8 @@ sbuf_printf(sb, "%8lu %7lu %4lu %4lu %4lu %5lu %10lu %9lu " "%8lu %7lu %4lu %4lu %4lu %5lu %7lu %10lu\n", - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0); + 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, + 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL); } return (0); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message