mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: platform/Stream.cpp
- Revision:
- 186:707f6e361f3e
- Parent:
- 167:e84263d55307
--- a/platform/Stream.cpp Thu Apr 19 17:12:19 2018 +0100 +++ b/platform/Stream.cpp Fri Jun 22 16:45:37 2018 +0100 @@ -29,7 +29,7 @@ if (_file) { mbed_set_unbuffered_stream(_file); } else { - error("Stream obj failure, errno=%d\r\n", errno); + MBED_ERROR1(MBED_MAKE_ERROR(MBED_MODULE_PLATFORM, MBED_ERROR_CODE_OPEN_FAILED), "Stream obj failure", _file); } }