lib/vsprintf: Use isodigit() for the octal number check
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 27 Mar 2023 14:27:21 +0000 (17:27 +0300)
committerPetr Mladek <pmladek@suse.com>
Mon, 3 Apr 2023 08:51:25 +0000 (10:51 +0200)
commit48e1a66fecb4e8b64cf2a0a8978c048990181d94
tree81703688472c9e299bad0d38f1899ce70a5fed48
parent0c705be9609931920c299e76811b21acc9502f1a
lib/vsprintf: Use isodigit() for the octal number check

Use isodigit() to test the octal number instead of homegrown approach.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20230327142721.48378-1-andriy.shevchenko@linux.intel.com
lib/vsprintf.c