diff options
author | Nikola Pajkovsky <npajkovs@redhat.com> | 2009-11-03 12:15:55 +0100 |
---|---|---|
committer | Nikola Pajkovsky <npajkovs@redhat.com> | 2009-11-03 12:15:55 +0100 |
commit | e8eefb19c47a7f4e7481d1f6460f8632e09bd76e (patch) | |
tree | 35660112ef5fc041d5ad3719f91d36f9b24ba1c5 /lib/Utils/DebugDump.cpp | |
parent | a5671452a511f992cd0e74c66da05e85c999d63f (diff) | |
download | abrt-e8eefb19c47a7f4e7481d1f6460f8632e09bd76e.tar.gz abrt-e8eefb19c47a7f4e7481d1f6460f8632e09bd76e.tar.xz abrt-e8eefb19c47a7f4e7481d1f6460f8632e09bd76e.zip |
kerneloop has uid = -1 new
Diffstat (limited to 'lib/Utils/DebugDump.cpp')
-rw-r--r-- | lib/Utils/DebugDump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Utils/DebugDump.cpp b/lib/Utils/DebugDump.cpp index f5c73190..d5eeb777 100644 --- a/lib/Utils/DebugDump.cpp +++ b/lib/Utils/DebugDump.cpp @@ -208,7 +208,7 @@ void CDebugDump::UnLock() } } -void CDebugDump::Create(const std::string& pDir, uid_t uid) +void CDebugDump::Create(const std::string& pDir, uint64_t uid) { if (m_bOpened) { @@ -245,7 +245,7 @@ void CDebugDump::Create(const std::string& pDir, uid_t uid) perror_msg("can't change '%s' ownership to %u:%u", m_sDebugDumpDir.c_str(), (int)uid, (int)gid); } - SaveText(FILENAME_UID, ssprintf("%u", (int)uid)); + SaveText(FILENAME_UID, ssprintf("%li", uid)); SaveKernelArchitectureRelease(); SaveTime(); } |