diff --git a/src/lib/arch/unix/ArchSystemUnix.cpp b/src/lib/arch/unix/ArchSystemUnix.cpp index 9e554662..112e15cb 100644 --- a/src/lib/arch/unix/ArchSystemUnix.cpp +++ b/src/lib/arch/unix/ArchSystemUnix.cpp @@ -74,3 +74,9 @@ void ArchSystemUnix::setting(const std::string&, const std::string&) const { } + +std::string +ArchSystemUnix::getLibsUsed(void) const +{ + return "not implmented.\nuse lsof on shell"; +} diff --git a/src/lib/arch/unix/ArchSystemUnix.h b/src/lib/arch/unix/ArchSystemUnix.h index b9f3705f..acacaa98 100644 --- a/src/lib/arch/unix/ArchSystemUnix.h +++ b/src/lib/arch/unix/ArchSystemUnix.h @@ -33,4 +33,6 @@ public: virtual std::string getPlatformName() const; virtual std::string setting(const std::string&) const; virtual void setting(const std::string&, const std::string&) const; + virtual std::string getLibsUsed(void) const; + }; diff --git a/src/lib/plugin/ns/ns.cpp b/src/lib/plugin/ns/ns.cpp index 114023c5..fd688787 100644 --- a/src/lib/plugin/ns/ns.cpp +++ b/src/lib/plugin/ns/ns.cpp @@ -59,7 +59,7 @@ init(void* log, void* arch) Arch::setInstance(reinterpret_cast(arch)); } - LOG(( CLOG_DEBUG "%s",helperGetLibsUsed().c_str())); + LOG(( CLOG_DEBUG "library use: %s",helperGetLibsUsed().c_str())); } int @@ -124,4 +124,4 @@ cleanup() } } -} \ No newline at end of file +}