diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-01-19 02:42:21 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-01-28 14:38:46 +0100 |
commit | 66a9b5314123b3632cb90a4d37fd422a0f898568 (patch) | |
tree | 689776d6536072ed623813fae6e088969d01498f /src/pacman/pacman.h | |
parent | 8308c7b320ae230252ff0e79ea18cbfed0d13e81 (diff) | |
download | pacman-66a9b5314123b3632cb90a4d37fd422a0f898568.tar.gz pacman-66a9b5314123b3632cb90a4d37fd422a0f898568.tar.xz |
add caller prefix to alpm_logaction
prefix defaults to "UNKOWN" if null or an empty string is provided.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/pacman.h')
-rw-r--r-- | src/pacman/pacman.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pacman/pacman.h b/src/pacman/pacman.h index 4eaf3182..7c9c365c 100644 --- a/src/pacman/pacman.h +++ b/src/pacman/pacman.h @@ -22,6 +22,8 @@ #include <alpm_list.h> +#define PACMAN_CALLER_PREFIX "PACMAN" + /* database.c */ int pacman_database(alpm_list_t *targets); /* deptest.c */ |