Thread (2 messages) 2 messages, 2 authors, 2017-05-19

Re: [PATCH] blktrace: fix integer parse

From: Jens Axboe <axboe@kernel.dk>
Date: 2017-05-19 15:21:42

On 05/19/2017 09:04 AM, Shaohua Li wrote:
sscanf is a very poor way to parse integer. For example, I input
"discard" for act_mask, it gets 0xd and completely messes up. Using
correct API to do integer parse.

This patch also makes attributes accept any base of integer.
Thanks Shaohua, applied.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help