diff options
-rw-r--r-- | contexthubhal/NanohubHidlAdapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contexthubhal/NanohubHidlAdapter.cpp b/contexthubhal/NanohubHidlAdapter.cpp index 9efca2ad..671d7812 100644 --- a/contexthubhal/NanohubHidlAdapter.cpp +++ b/contexthubhal/NanohubHidlAdapter.cpp @@ -579,7 +579,7 @@ Return<void> Contexthub::debug(const hidl_handle& hh_fd, } else { result.appendFormat("unknown debug options"); } - write(fd, result.string(), result.size()); + write(fd, result.c_str(), result.size()); return Void(); } |