Date: Thu, 30 Jan 2003 11:17:34 -0800 (PST) From: Brian Feldman <green@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 24451 for review Message-ID: <200301301917.h0UJHY01040503@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=24451 Change 24451 by green@green_laptop_2 on 2003/01/30 11:16:41 Calls to mac_prepare(3) could fail. Affected files ... .. //depot/projects/trustedbsd/sebsd/usr.bin/login/login.c#2 edit Differences ... ==== //depot/projects/trustedbsd/sebsd/usr.bin/login/login.c#2 (text+ko) ==== @@ -522,8 +522,8 @@ bail(NO_SLEEP_EXIT, 1); } free(labeltext); - mac_prepare(&oldttylabel, "sebsd"); - if (mac_get_file(ttyn, oldttylabel) != 0 || + if (mac_prepare(&oldttylabel, "sebsd") != 0 || + mac_get_file(ttyn, oldttylabel) != 0 || mac_to_text(oldttylabel, &oldttylabeltext) != 0) { syslog(LOG_ERR, "Getting SEBSD label on terminal " "%s: %m", ttyn); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301301917.h0UJHY01040503>
