This reverts commit 9eed807bb06e02cd7a574d36c7c458884292da72 for
backward compatibility.

Signed-off-by: Hitoshi Mitake <[email protected]>
---
 sbd/sheep_block_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbd/sheep_block_device.c b/sbd/sheep_block_device.c
index d82ff43..eaee932 100644
--- a/sbd/sheep_block_device.c
+++ b/sbd/sheep_block_device.c
@@ -290,7 +290,7 @@ static ssize_t sbd_remove(struct bus_type *bus, const char 
*buf,
        unsigned long ul;
        int target_id, ret;
 
-       ret = kstrtoul(buf, 10, &ul);
+       ret = strict_strtoul(buf, 10, &ul);
        if (ret)
                return ret;
 
-- 
1.9.1

-- 
sheepdog mailing list
[email protected]
https://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to