Print this page
NEX-2911 NDMP logging should use syslog and is too chatty

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ndmpd/tlm/tlm_proto.h
          +++ new/usr/src/cmd/ndmpd/tlm/tlm_proto.h
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35   * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  36   36   * POSSIBILITY OF SUCH DAMAGE.
  37   37   */
  38   38  #ifndef _TLM_PROTO_H
  39   39  #define _TLM_PROTO_H
  40   40  
  41   41  #include <tlm.h>
  42   42  #include <tlm_buffers.h>
  43   43  #include <ndmpd_door.h>
  44   44  #include <dirent.h>
  45      -#include <syslog.h>
  46   45  #include <pthread.h>
  47   46  
  48   47  #define SCSI_CHANGER_DIR        "/dev/scsi/changer"
  49   48  #define SCSI_TAPE_DIR           "/dev/rmt"
  50   49  
  51   50  #define MAXIORETRY      20
  52   51  
  53   52  typedef void log_func_t(ulong_t, char *, ...);
  54   53  typedef void *  (*funct_t)(void *);     /* function pointer */
  55   54  
↓ open down ↓ 97 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX