diff options
author | John Levon <john.levon@joyent.com> | 2018-12-19 17:20:58 +0000 |
---|---|---|
committer | John Levon <john.levon@joyent.com> | 2019-03-23 11:14:44 -0700 |
commit | 61233e713d6c3509d5c076a791c0c2c09cf5cb76 (patch) | |
tree | 66365eba8658b61d68cff4107d86e2810250994a | |
parent | 6efbc8a970529717f3354109b91e2916527c0286 (diff) | |
download | illumos-joyent-61233e713d6c3509d5c076a791c0c2c09cf5cb76.tar.gz |
10112 cfga_sata.c needs a smatch fix
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Gergő Doma <domag02@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/lib/cfgadm_plugins/sata/common/cfga_sata.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/lib/cfgadm_plugins/sata/common/cfga_sata.c b/usr/src/lib/cfgadm_plugins/sata/common/cfga_sata.c index ad4dcd6dd3..b30433c2be 100644 --- a/usr/src/lib/cfgadm_plugins/sata/common/cfga_sata.c +++ b/usr/src/lib/cfgadm_plugins/sata/common/cfga_sata.c @@ -23,6 +23,7 @@ * 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> @@ -1745,7 +1746,7 @@ cfga_msg(struct cfga_msg *msgp, const char *str) } (void) strcpy(q, str); - (*msgp->message_routine)(msgp->appdata_ptr, q); + (void) (*msgp->message_routine)(msgp->appdata_ptr, q); free(q); } |