diff options
author | px4dev <px4@purgatory.org> | 2012-08-25 18:25:39 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-08-25 18:25:39 -0700 |
commit | 544d427155167803ec482be9d13c1c8c6a7f34cc (patch) | |
tree | e390c3535936bad1d568a19310e8fcf1fe610f58 | |
parent | 92c723d0080d684279e0fbe1c5a84de606ea28d9 (diff) | |
download | px4-firmware-544d427155167803ec482be9d13c1c8c6a7f34cc.tar.gz px4-firmware-544d427155167803ec482be9d13c1c8c6a7f34cc.tar.bz2 px4-firmware-544d427155167803ec482be9d13c1c8c6a7f34cc.zip |
fix warn() not printing error strings.
-rw-r--r-- | apps/systemlib/err.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/systemlib/err.c b/apps/systemlib/err.c index 9692f03dd..f22c5ed0d 100644 --- a/apps/systemlib/err.c +++ b/apps/systemlib/err.c @@ -155,7 +155,7 @@ warn(const char *fmt, ...) void vwarn(const char *fmt, va_list args) { - warnerr_core(NOCODE, fmt, args); + warnerr_core(errno, fmt, args); } void |