lkml.org 
[lkml]   [2018]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] proc: fix /proc/*/map_files lookup some more
On Wed, Feb 21, 2018 at 09:44:11PM +0300, Alexey Dobriyan wrote:

> + len = strlen(str);
> + if (len > 1 && *str == '0')
> + return -EINVAL;

if (s[0] == '0' && s[1])
please...

\
 
 \ /
  Last update: 2018-02-21 19:52    [W:1.399 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site