summaryrefslogtreecommitdiff
path: root/usr/src/cmd
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2016-08-12 02:26:47 +0300
committerDan McDonald <danmcd@omniti.com>2016-08-16 19:43:59 -0400
commit37706db998822da2eb5ef6e8b2a5a3dfaec268fb (patch)
tree529790e4a7611476b48bccfd594c68dd1b9151f3 /usr/src/cmd
parent5c9564e13556d93b85933b234fdd8810ce82cd93 (diff)
downloadillumos-joyent-37706db998822da2eb5ef6e8b2a5a3dfaec268fb.tar.gz
7295 powertop dumps core when -c, -d or -t flags are used
Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/cmd')
-rw-r--r--usr/src/cmd/powertop/common/powertop.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/src/cmd/powertop/common/powertop.c b/usr/src/cmd/powertop/common/powertop.c
index 3f54f45957..428c494c81 100644
--- a/usr/src/cmd/powertop/common/powertop.c
+++ b/usr/src/cmd/powertop/common/powertop.c
@@ -78,8 +78,6 @@ boolean_t g_sig_resize;
uint_t g_argc;
char **g_argv;
-char *optarg;
-
static const int true = 1;
void