src: Small improvements
Change-Id: I9850cd6ec2330482915f815d94a2ac2ccaeae7f1
diff --git a/tools/nfd-autoreg.cpp b/tools/nfd-autoreg.cpp
index a219e62..26fba9d 100644
--- a/tools/nfd-autoreg.cpp
+++ b/tools/nfd-autoreg.cpp
@@ -63,7 +63,8 @@
onNfdCommandFailure(const FaceEventNotification& notification,
uint32_t code, const std::string& reason)
{
- std::cerr << "FAILED: " << notification << " (code: " << code << ")" << std::endl;
+ std::cerr << "FAILED: " << notification
+ << " (code: " << code << ", reason: " << reason << ")" << std::endl;
}
bool