Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2002 14:37:59 -0700 (PDT)
From:      Adam Migus <amigus@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 10904 for review
Message-ID:  <200205062137.g46LbxA26573@freefall.freebsd.org>

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

Change 10904 by amigus@amigus_ganymede on 2002/05/06 14:37:43

	Oops.  Also added a const.

Affected files ...

... //depot/projects/trustedbsd/mac/libexec/getty/main.c#7 edit

Differences ...

==== //depot/projects/trustedbsd/mac/libexec/getty/main.c#7 (text+ko) ====

@@ -247,12 +247,12 @@
 			 * login_getpwclass() will default, so if
 			 * login_getuserclass() fails here we call it to
 			 * ensure that a label gets set on the tty.
-			 * /
+			 */
 			if(lc == NULL)
 				lc = login_getpwclass(rootpw);
 
 			if (lc != NULL) {
-				char *rootmacstr;
+				const char *rootmacstr;
 
 				rootmacstr = login_getcapstr(lc, "ttylabel",
 				    NULL, NULL);

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?200205062137.g46LbxA26573>