diff options
Diffstat (limited to 'lib/vsprintf.c')
-rw-r--r-- | lib/vsprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 3fccfa7a56..4834501ff1 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -232,7 +232,7 @@ char *error_string(char *buf, const char *end, const u8 *errptr, int field_width if (!IS_ERR(errptr)) return raw_pointer(buf, end, errptr, field_width, precision, flags); - return string(buf, end, strerrorp(errptr), field_width, precision, flags); + return string(buf, end, strerror(-PTR_ERR(errptr)), field_width, precision, flags); } static noinline_for_stack |