8294 auditd: case values not in enum

Review Request #543 - Created May 28, 2017 and submitted

Information
Toomas Soome
illumos-gate
8294
429ed93...
Reviewers
general
doorway.c:186:2: error: case value '4294967293' not in enumerated type 'auditd_rc_t {aka enum auditd_rc}' [-Werror=switch]
  case INTERNAL_CONFIG_ERROR:
  ^~~~
doorway.c:181:2: error: case value '4294967294' not in enumerated type 'auditd_rc_t {aka enum auditd_rc}' [-Werror=switch]
  case INTERNAL_SYS_ERROR:
  ^~~~
doorway.c:176:2: error: case value '4294967295' not in enumerated type 'auditd_rc_t {aka enum auditd_rc}' [-Werror=switch]
  case INTERNAL_LOAD_ERROR:
  ^~~~
cc1: all warnings being treated as errors

  
Toomas Soome
Yuri Pankov
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...