aboutsummaryrefslogtreecommitdiffstats
path: root/pcp-htop.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2024-01-10 12:40:37 +0100
committerDaniel Lange <DLange@git.local>2024-01-10 12:40:37 +0100
commit7271b076b82785ffca73ee9e4ae84cabb77018ee (patch)
treee8270dd60ec096bee8157dbadf029e15ed584592 /pcp-htop.c
parentf288666edc9180a2e81e6655951878124f321df6 (diff)
downloaddebian_htop-upstream.tar.gz
debian_htop-upstream.tar.bz2
debian_htop-upstream.zip
New upstream version 3.3.0upstream/3.3.0upstream
Diffstat (limited to 'pcp-htop.c')
-rw-r--r--pcp-htop.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pcp-htop.c b/pcp-htop.c
index 2713c89..ed585ec 100644
--- a/pcp-htop.c
+++ b/pcp-htop.c
@@ -14,13 +14,14 @@ in the source distribution for its full text.
#include "Platform.h"
+const char* program = "pcp-htop";
+
int main(int argc, char** argv) {
- const char* name = "pcp-htop";
- pmSetProgname(name);
+ pmSetProgname(program);
/* extract environment variables */
opts.flags |= PM_OPTFLAG_ENV_ONLY;
(void)pmGetOptions(argc, argv, &opts);
- return CommandLine_run(name, argc, argv);
+ return CommandLine_run(argc, argv);
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy