3244 utmpd.c: fix uninitialized variable, ret_val and other gcc warnings
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Sachidananda Urs <sac.urs@gmail.com>
Approved by: Robert Mustacchi <rm@joyent.com>
5473 typo in mbsrtowcs.3c
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Robert Mustacchi <rm@joyent.com>
	[illumos-gate merge]

commit a5261312fc4eed6b5595eca994c6cfec602829cd
    5473 typo in mbsrtowcs.3c
commit fd64a0d03455fdb3bbf710e77f2a2f6d08d3cf6c
    3244 utmpd.c: fix uninitialized variable, ret_val and other gcc warnings