From 7271b076b82785ffca73ee9e4ae84cabb77018ee Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Wed, 10 Jan 2024 12:40:37 +0100 Subject: New upstream version 3.3.0 --- pcp-htop.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pcp-htop.c') 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); } -- cgit v1.2.3