From owner-cvs-src-old@FreeBSD.ORG Tue Jan 13 23:36:42 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C23541065781 for ; Tue, 13 Jan 2009 23:36:42 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AE2918FC14 for ; Tue, 13 Jan 2009 23:36:42 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n0DNagcX026639 for ; Tue, 13 Jan 2009 23:36:42 GMT (envelope-from luigi@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n0DNagmr026638 for cvs-src-old@freebsd.org; Tue, 13 Jan 2009 23:36:42 GMT (envelope-from luigi@repoman.freebsd.org) Message-Id: <200901132336.n0DNagmr026638@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to luigi@repoman.freebsd.org using -f From: Luigi Rizzo Date: Tue, 13 Jan 2009 23:36:38 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/fdisk fdisk.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2009 23:36:43 -0000 luigi 2009-01-13 23:36:38 UTC FreeBSD src repository Modified files: sbin/fdisk fdisk.c Log: SVN rev 187203 on 2009-01-13 23:36:38Z by luigi Some small fixes submitted by Christoph Mallon, specifically: + Remove a dead field of a struct. It serves no purpose anymore. + Remove a \n at the end of the format string of err(); the err() function already adds a \n ; + remove many unnecessary casts which obfuscate the code. This file has a huge number of indentation bugs, but I'd rather fix them when/if we happen to modify the relevant parts of the code. Submitted by: Christoph Mallon MFC after: 3 days Revision Changes Path 1.88 +16 -17 src/sbin/fdisk/fdisk.c