]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r300224:
authorken <ken@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 May 2016 14:30:33 +0000 (14:30 +0000)
committerken <ken@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 May 2016 14:30:33 +0000 (14:30 +0000)
commit93214d43c077ac1365052020bcbb62a41cba6179
tree3c50a5e647f7966fd4f6d8bdd13389a787e3bd0e
parente8399cb5e7fd10e7b44b747fd9a4bd5f92d1b615
MFC r300224:

  ------------------------------------------------------------------------
  r300224 | ken | 2016-05-19 13:13:43 -0600 (Thu, 19 May 2016) | 12 lines

  Adjust a couple of error cases in camdd(8).

  usr.sbin/camdd/camdd.c:
   In camdd_probe_file(), fix an error case after fstat where
   we were bailing out and leaving two lines of cleanup code
   unexecuted.  Instead, just goto bailout_error.

   In camdd_probe_pass(), fail if the sector size is 0.
  ------------------------------------------------------------------------

Sponsored by: Spectra Logic

git-svn-id: svn://svn.freebsd.org/base/stable/10@300681 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/camdd/camdd.c