Module Name:    src
Committed By:   ginsbach
Date:           Mon Apr 27 15:08:10 UTC 2009

Modified Files:
        src/usr.bin/xlint/lint1: tree.c

Log Message:
Print left and right type and not left type twice.  (Hi Christos!)


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/usr.bin/xlint/lint1/tree.c

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

Modified files:

Index: src/usr.bin/xlint/lint1/tree.c
diff -u src/usr.bin/xlint/lint1/tree.c:1.57 src/usr.bin/xlint/lint1/tree.c:1.58
--- src/usr.bin/xlint/lint1/tree.c:1.57	Wed Apr 15 01:20:57 2009
+++ src/usr.bin/xlint/lint1/tree.c	Mon Apr 27 15:08:10 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: tree.c,v 1.57 2009/04/15 01:20:57 christos Exp $	*/
+/*	$NetBSD: tree.c,v 1.58 2009/04/27 15:08:10 ginsbach Exp $	*/
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: tree.c,v 1.57 2009/04/15 01:20:57 christos Exp $");
+__RCSID("$NetBSD: tree.c,v 1.58 2009/04/27 15:08:10 ginsbach Exp $");
 #endif
 
 #include <stdlib.h>
@@ -1311,7 +1311,7 @@
 		     (!lstp->t_volatile && rstp->t_volatile))) {
 			/* left side has not all qualifiers of right */
 			tyname(lbuf, sizeof(lbuf), lstp);
-			tyname(rbuf, sizeof(rbuf), lstp);
+			tyname(rbuf, sizeof(rbuf), rstp);
 			switch (op) {
 			case INIT:
 			case RETURN:

Reply via email to