summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2016-08-17 11:59:48 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2016-08-17 11:59:48 +0000
commit7e7bddbc9d2d421663bc709927c98a0e849215ba (patch)
tree583a8232d0725efd987165cf922b0f4be7a8d839
parenta270c481cb999e137b33c873091fdaca2e0d7b44 (diff)
parent37706db998822da2eb5ef6e8b2a5a3dfaec268fb (diff)
downloadillumos-joyent-7e7bddbc9d2d421663bc709927c98a0e849215ba.tar.gz
[illumos-gate merge]
commit 37706db998822da2eb5ef6e8b2a5a3dfaec268fb 7295 powertop dumps core when -c, -d or -t flags are used
-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