libutil: Miscellaneous cleanup.
authorSascha Wildner <saw@online.de>
Mon, 12 Oct 2009 21:56:15 +0000 (23:56 +0200)
committerSascha Wildner <saw@online.de>
Mon, 12 Oct 2009 21:56:15 +0000 (23:56 +0200)
commita7c2f834bcea3319a0662e018a25850826e04b91
treeebdc5046981842fd93a9677b9bc6e9ec9ecfffb9
parentc6d6c355f93823e554317b48113083b5f1791470
libutil: Miscellaneous cleanup.

* In setusercontext(), pwd is not guaranteed to be non-NULL if
  LOGIN_SETPRIORITY is in flags. Therefore, don't use it in the
  syslog() call.

* Remove some dead assignments.
lib/libutil/login_class.c
lib/libutil/pw_util.c