aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/systemlib/err.c2
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