]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r253109, r253279:
authorjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 12 Jul 2013 22:12:48 +0000 (22:12 +0000)
committerjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 12 Jul 2013 22:12:48 +0000 (22:12 +0000)
commit881e246920be891283aba38a1d370d72f0b554d2
treeed6fc97fe6cdbaf08caa5a0d574fe56094a9495e
parent392a3032b9b61bcbc03ae6e22f2b065e4d3ba3a7
MFC r253109, r253279:

r253109:
  Incorporate feedback from bde@ based on r252672 changes:

  * Use 0/1 instead of sysexits.  Man pages are confusing on this topic,
    but 0/1 is sufficient for nvmecontrol.
  * Use err function family where possible instead of fprintf/exit.
  * Fix some typing errors.
  * Clean up some error message inconsistencies.

r253279:
  %d should be used for printing int32_t instead of %zd.

  clang does not complain about this - only gcc.

Incorporated r253279 prior to MFC timeout because it is required for gcc
builds.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/9@253298 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/nvmecontrol/devlist.c
sbin/nvmecontrol/firmware.c
sbin/nvmecontrol/identify.c
sbin/nvmecontrol/logpage.c
sbin/nvmecontrol/nvmecontrol.c
sbin/nvmecontrol/perftest.c
sbin/nvmecontrol/reset.c