Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Bob Beck (beckcvs.openbsd.org)
Date: Thu Jun 15 2006 - 10:02:31 CDT

Module name: src
Changes by: beckcvs.openbsd.org 2006/06/15 09:02:31

Modified files:
        sys/scsi : ch.c

Log message:
Quell dmesg spewage from ch(4) - this diff moves much of the
diagnostic type printf spew that is useful into #ifdef CHANGER_DEBUG,
removes some that is pretty much useless, and changes one instance
of using kernel printf to indicate the truncation of a result due to the
provided buffer being too small into a return of EINVAL back to the caller.

tested by me and mbalmer
ok krw mbalmer