Skip to content

Commit

Permalink
pcscdaemon: change '--version' output formatting
Browse files Browse the repository at this point in the history
Do not use PACKAGE defined by autotools.
  • Loading branch information
LudovicRousseau committed Apr 24, 2024
1 parent 2e546b5 commit 2258a40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pcscdaemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -855,13 +855,13 @@ static void signal_trap(int sig)

static void print_version(void)
{
printf("%s version %s.\n", PACKAGE, VERSION);
printf("pcsc-lite version " VERSION "\n");
printf("Copyright (C) 1999-2002 by David Corcoran <[email protected]>.\n");
printf("Copyright (C) 2001-2022 by Ludovic Rousseau <[email protected]>.\n");
printf("Copyright (C) 2003-2004 by Damien Sauveron <[email protected]>.\n");
printf("Report bugs to <[email protected]>.\n");

printf("Enabled features:%s\n", PCSCLITE_FEATURES);
printf("Enabled features: " PCSCLITE_FEATURES "\n");
printf("MAX_READERNAME: %d, PCSCLITE_MAX_READERS_CONTEXTS: %d\n",
MAX_READERNAME, PCSCLITE_MAX_READERS_CONTEXTS);
}
Expand Down

0 comments on commit 2258a40

Please sign in to comment.