From owner-p4-projects Mon May 6 14:38:12 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9B24537B405; Mon, 6 May 2002 14:38:06 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7190837B419 for ; Mon, 6 May 2002 14:37:59 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g46LbxA26573 for perforce@freebsd.org; Mon, 6 May 2002 14:37:59 -0700 (PDT) (envelope-from amigus@tislabs.com) Date: Mon, 6 May 2002 14:37:59 -0700 (PDT) Message-Id: <200205062137.g46LbxA26573@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to amigus@tislabs.com using -f From: Adam Migus Subject: PERFORCE change 10904 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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