Index: runtime/platform/utils_fuchsia.h |
diff --git a/runtime/platform/utils_fuchsia.h b/runtime/platform/utils_fuchsia.h |
index a44fcb8b4869e17a43485bf5671cfbece9343122..0129bfeb20187d849f9c201808707b81177662fb 100644 |
--- a/runtime/platform/utils_fuchsia.h |
+++ b/runtime/platform/utils_fuchsia.h |
@@ -68,8 +68,8 @@ inline uint64_t Utils::HostToLittleEndian64(uint64_t value) { |
inline char* Utils::StrError(int err, char* buffer, size_t bufsize) { |
- UNIMPLEMENTED(); |
- return NULL; |
+ snprintf(buffer, bufsize, "errno = %d", err); |
+ return buffer; |
} |
} // namespace dart |