Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2002 20:17:39 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 10725 for review
Message-ID:  <200205030317.g433Hdd76050@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=10725

Change 10725 by rwatson@rwatson_tislabs on 2002/05/02 20:16:58

	When there's a syntax error in the mode, print the letter of the
	mode that caused the breakage, rather than '?'.  This is more
	useful.

Affected files ...

... //depot/projects/trustedbsd/mac/usr.sbin/ugidfw/ugidfw.c#4 edit

Differences ...

==== //depot/projects/trustedbsd/mac/usr.sbin/ugidfw/ugidfw.c#4 (text+ko) ====

@@ -294,7 +294,8 @@
 			/* ignore */
 			break;
 		default:
-			fprintf(stderr, "Unknown mode letter: %c\n", c);
+			fprintf(stderr, "Unknown mode letter: %c\n",
+			    argv[0][i]);
 			return (-1);
 		} 
 	}

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205030317.g433Hdd76050>