From cf738fea8fa9deaf912481f9863a95090edbb4da Mon Sep 17 00:00:00 2001 From: skarg Date: Fri, 15 Aug 2014 15:09:56 +0000 Subject: [PATCH] Optimize printing usage for command line demo. --- bacnet-stack/demo/readprop/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacnet-stack/demo/readprop/main.c b/bacnet-stack/demo/readprop/main.c index 5ac47230..a732e87f 100644 --- a/bacnet-stack/demo/readprop/main.c +++ b/bacnet-stack/demo/readprop/main.c @@ -248,7 +248,7 @@ int main( } } if (argc < 5) { - print_usage(filename_remove_path(argv[0])); + print_usage(filename); return 0; } /* decode the command line parameters */