Print this page
10112 cfga_sata.c needs a smatch fix

@@ -21,10 +21,11 @@
 
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  * Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
+ * Copyright (c) 2018, Joyent, Inc.
  */
 
 #include <sys/param.h>
 #include <sys/stat.h>
 #include <errno.h>

@@ -1743,11 +1744,11 @@
                 perror("cfga_msg");
                 return;
         }
 
         (void) strcpy(q, str);
-        (*msgp->message_routine)(msgp->appdata_ptr, q);
+        (void) (*msgp->message_routine)(msgp->appdata_ptr, q);
 
         free(q);
 }
 
 /* cfgadm entry point */