NetBSD Problem Report #42730

From www@NetBSD.org  Wed Feb  3 13:39:01 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id F25B063B9FC
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  3 Feb 2010 13:39:00 +0000 (UTC)
Message-Id: <20100203133900.C088B63B886@www.NetBSD.org>
Date: Wed,  3 Feb 2010 13:39:00 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Delete  parenthesies in sys/arch/rs6000/stand/boot/monitor.c.
X-Send-Pr-Version: www-1.0

>Number:         42730
>Category:       kern
>Synopsis:       Delete  parenthesies in sys/arch/rs6000/stand/boot/monitor.c.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 03 13:40:00 +0000 2010
>Closed-Date:    Wed Feb 03 13:51:48 +0000 2010
>Last-Modified:  Wed Feb 03 13:51:48 +0000 2010
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Delete  parenthesies in sys/arch/rs6000/stand/boot/monitor.c found by cppcheck,
>How-To-Repeat:

>Fix:
diff -u -r1.2 monitor.c
--- sys/arch/rs6000/stand/boot/monitor.c	28 Apr 2008 20:23:34 -0000	1.2
+++ sys/arch/rs6000/stand/boot/monitor.c	3 Feb 2010 13:05:06 -0000
@@ -47,7 +47,7 @@
 void db_cmd_put(int, char **);
 void db_cmd_help(int, char **);

-unsigned int mfmsr((void);
+unsigned int mfmsr(void);
 void mtmsr(unsigned int);

 int db_atob(char *);

>Release-Note:

>Audit-Trail:
From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42730 CVS commit: src/sys/arch/rs6000/stand/boot
Date: Wed, 3 Feb 2010 13:48:18 +0000

 Module Name:	src
 Committed By:	wiz
 Date:		Wed Feb  3 13:48:17 UTC 2010

 Modified Files:
 	src/sys/arch/rs6000/stand/boot: monitor.c

 Log Message:
 Remove extra parenthesis. Found by cppcheck, reported by
 Henning Petersen in PR 42730.


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 src/sys/arch/rs6000/stand/boot/monitor.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 03 Feb 2010 13:51:48 +0000
State-Changed-Why:
Fixed, thanks.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.