]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 213672,213674,214396:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 3 Nov 2010 15:25:30 +0000 (15:25 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 3 Nov 2010 15:25:30 +0000 (15:25 +0000)
commit117b5842ee6de2bffded1b917c518fe5059bbdf5
tree693f043795c0eb8098457ca5b505eb1e74e1ff4c
parent92377a84e44b6c93f8f0102ec1943112493ca0a4
MFC 213672,213674,214396:
- Report subcommand handler errors in mfiutil so that tools that
  invoke the utilities can robustly report errors.
- Fix compile with -DDEBUG by using the correct mfi_pd_ref union definition
  in mfireg.h.
- Save errno values before calling warn(3) so that errors are correctly
  reported.
- Use powerof2() from <sys/param.h> rather than a copy and paste version.

git-svn-id: svn://svn.freebsd.org/base/stable/8@214742 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/mfiutil/mfi_config.c
usr.sbin/mfiutil/mfi_drive.c
usr.sbin/mfiutil/mfi_evt.c
usr.sbin/mfiutil/mfi_flash.c
usr.sbin/mfiutil/mfi_patrol.c
usr.sbin/mfiutil/mfi_show.c
usr.sbin/mfiutil/mfi_volume.c
usr.sbin/mfiutil/mfiutil.c