diff options
author | Zdenek Prikryl <zprikryl@redhat.com> | 2009-02-12 15:04:17 +0100 |
---|---|---|
committer | Zdenek Prikryl <zprikryl@redhat.com> | 2009-02-12 15:04:17 +0100 |
commit | e608c17a82071fb490df198155a1e022857f9cf0 (patch) | |
tree | 0f10925f54453fc1a2d6f89d74c730edf64b771d | |
parent | 14043a8dae9270e305c5f1fbc158cf743793e3bd (diff) | |
download | abrt-e608c17a82071fb490df198155a1e022857f9cf0.tar.gz abrt-e608c17a82071fb490df198155a1e022857f9cf0.tar.xz abrt-e608c17a82071fb490df198155a1e022857f9cf0.zip |
fixec path variable
-rw-r--r-- | lib/Utils/Packages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Utils/Packages.cpp b/lib/Utils/Packages.cpp index 654967df..4c94ef6f 100644 --- a/lib/Utils/Packages.cpp +++ b/lib/Utils/Packages.cpp @@ -46,7 +46,7 @@ std::string CPackages::SearchFile(const std::string& pPath) char *argv[] = {(char*)""}; poptContext context = rpmcliInit(0, argv, NULL); rpmts ts = rpmtsCreate(); - rpmdbMatchIterator iter = rpmtsInitIterator(ts, RPMTAG_BASENAMES, "/usr/sbin/acpid", 0); + rpmdbMatchIterator iter = rpmtsInitIterator(ts, RPMTAG_BASENAMES, pPath.c_str(), 0); Header header; char* nerv = NULL; |