Print this page
10112 cfga_sata.c needs a smatch fix

*** 21,30 **** --- 21,31 ---- /* * 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,1753 **** perror("cfga_msg"); return; } (void) strcpy(q, str); ! (*msgp->message_routine)(msgp->appdata_ptr, q); free(q); } /* cfgadm entry point */ --- 1744,1754 ---- perror("cfga_msg"); return; } (void) strcpy(q, str); ! (void) (*msgp->message_routine)(msgp->appdata_ptr, q); free(q); } /* cfgadm entry point */