Print this page
10130 smatch fixes for usr/src/cmd/fm

*** 21,30 **** --- 21,34 ---- /* * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. */ + /* + * Copyright (c) 2018, Joyent, Inc. + */ + #include <sys/fm/protocol.h> #include <fm/fmd_snmp.h> #include <fm/fmd_msg.h> #include <fm/libfmevent.h> #include <net-snmp/net-snmp-config.h>
*** 575,585 **** case 'R': nhdl->nh_rootdir = strdup(optarg); break; default: free(nhdl); ! return (usage(nhdl->nh_pname)); } } } /* --- 579,589 ---- case 'R': nhdl->nh_rootdir = strdup(optarg); break; default: free(nhdl); ! return (usage(argv[0])); } } } /*