cvs commit: src/usr.bin/id id.1 id.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue May 4 02:44:00 PDT 2004


On Mon, May 03, 2004 at 03:50:23PM -0700, Robert Watson wrote:
+> +		errx(1, "mac_prepare_type: %s", strerror(errno));
[...]
+> +		errx(1, "mac_get_proc: %s", strerror(errno));
[...]
+> +		errx(1, "mac_to_text: %s", strerror(errno));

Why don't you simply:
	err(1, "mac_prepare_type");
	err(1, "mac_get_proc");
	err(1, "mac_to_text");
?

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040504/d03f2577/attachment.bin


More information about the cvs-src mailing list