Print this page
10703 smatch unreachable code checking needs reworking
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>

*** 22,32 **** /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ ! #pragma ident "%Z%%M% %I% %E% SMI" #include <scsi/libses.h> #include "ses_impl.h" __thread ses_errno_t _ses_errno; --- 22,34 ---- /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ ! /* ! * Copyright 2019 Joyent, Inc. ! */ #include <scsi/libses.h> #include "ses_impl.h" __thread ses_errno_t _ses_errno;
*** 52,64 **** strerror(oserr)); } (void) write(STDERR_FILENO, msg, strlen(msg)); - abort: abort(); - _exit(1); } /*PRINTFLIKE1*/ void ses_panic(const char *fmt, ...) --- 54,64 ----