summaryrefslogtreecommitdiff
path: root/nftldump.c
diff options
context:
space:
mode:
Diffstat (limited to 'nftldump.c')
-rw-r--r--nftldump.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nftldump.c b/nftldump.c
index 6d72acd..90ea072 100644
--- a/nftldump.c
+++ b/nftldump.c
@@ -20,6 +20,8 @@
* 2. test, test, and test !!!
*/
+#define PROGRAM_NAME "nftldump"
+
#define _XOPEN_SOURCE 500 /* For pread */
#include <unistd.h>
@@ -249,7 +251,7 @@ static void dump_virtual_units(void)
int main(int argc, char **argv)
{
if (argc < 2) {
- printf("Usage: %s <device> [<outfile>]\n", argv[0]);
+ printf("Usage: %s <device> [<outfile>]\n", PROGRAM_NAME);
exit(1);
}
fd = open(argv[1], O_RDONLY);