index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2008-02-29 21:52:57 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-03-01 17:02:05 -0600 |
commit | 49197b7492d61bf1fc6bef59a708f4f586f32edb (patch) | |
tree | 2d886ebbd3fca56d14ceecba0af4c05f79e803e2 /src | |
parent | 73ac9f7b27c3da538dad0f59c28f67badbb43a64 (diff) |
-rw-r--r-- | src/pacman/pacman.c | 6 |
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index f1853203..331cbe91 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -154,7 +154,7 @@ static void usage(int op, const char * const myname) static void version(void) { printf("\n"); - printf(" .--. Pacman v%s - libalpm v%s\n", PACKAGE_VERSION, LIB_VERSION); + printf(" .--. Pacman v%s - libalpm v%s\n", PACKAGE_VERSION, alpm_version()); printf("/ _.-' .-. .-. .-. Copyright (C) 2002-2008 Judd Vinet <jvinet@zeroflux.org>\n"); printf("\\ '-. '-' '-' '-'\n"); printf(" '--'\n"); @@ -187,8 +187,8 @@ static void setuseragent(void) struct utsname un; uname(&un); - snprintf(agent, 100, "pacman/" PACKAGE_VERSION " (%s %s) libalpm/" LIB_VERSION, - un.sysname, un.machine); + snprintf(agent, 100, "pacman/%s (%s %s) libalpm/%s", + PACKAGE_VERSION, un.sysname, un.machine, alpm_version()); setenv("HTTP_USER_AGENT", agent, 0); } |