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,11 +22,13 @@
 /*
  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
+/*
+ * Copyright 2019 Joyent, Inc.
+ */
 
 #include <scsi/libses.h>
 #include "ses_impl.h"
 
 __thread ses_errno_t _ses_errno;

@@ -52,13 +54,11 @@
                     strerror(oserr));
         }
 
         (void) write(STDERR_FILENO, msg, strlen(msg));
 
-abort:
         abort();
-        _exit(1);
 }
 
 /*PRINTFLIKE1*/
 void
 ses_panic(const char *fmt, ...)