Explorar o código

use DPKG define in printversion output

Wichert Akkerman %!s(int64=25) %!d(string=hai) anos
pai
achega
fa950986c4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      main/main.c

+ 1 - 1
main/main.c

@@ -47,7 +47,7 @@ static void printversion(void) {
   if (fputs( DPKG_VERSION_ARCH ".\n", stdout) < 0) werr("stdout");
   if (fputs( DPKG_VERSION_ARCH ".\n", stdout) < 0) werr("stdout");
   if (fputs(_( "This is free software; see the GNU General Public Licence version 2 or\n"
   if (fputs(_( "This is free software; see the GNU General Public Licence version 2 or\n"
 		"later for copying conditions.  There is NO warranty.\n"
 		"later for copying conditions.  There is NO warranty.\n"
-		"See dpkg --licence for copyright and license details.\n"),
+		"See " DPKG " --licence for copyright and license details.\n"),
 		 stdout) < 0) werr("stdout");
 		 stdout) < 0) werr("stdout");
 }
 }
 /*
 /*