MFV:
 use calloc in get_line() when allocating line to ensure it is fully initialized,
 fixes a later uninitialized value in copy_param() (FreeBSD #193499).

PR: 193499
Submitted by: Thomas E. Dickey  <tom@invisible-island.net>


git-svn-id: svn+ssh://svn.freebsd.org/base/head@272649 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Set CAM_SIM_QUEUED flag before calling ctl_queue() to avoid race.

PR:		194128
Submitted by:	Scott M. Ferris <smferris@gmail.com>
MFC after:	3 days
Sponsored by:	EMC/Isilon Storage Division


git-svn-id: svn+ssh://svn.freebsd.org/base/head@272650 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f