Fix: wrong string format operator

a log print in LocCloseMsg print a string without
dereferenced address, and it will cause null pointer
dereference.

Change-Id: I0daf7cbf09033e065e07825f842320ae5d2508cb
CRs-Fixed: 2259999
This commit is contained in:
Hoss Zhou 2018-06-27 15:20:21 +08:00
parent 02cddf0f26
commit 1e871997d6

View file

@ -137,7 +137,6 @@ struct LocCloseMsg : public LocMsg {
mLocApi->close();
}
inline void locallog() const {
LOC_LOGV("%s]: LocCloseMsg");
}
inline virtual void log() const {
locallog();