[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6599ad830807071832j42a20faak62c5cdc98aca2d2@mail.gmail.com>
Date: Mon, 7 Jul 2008 18:32:58 -0700
From: "Paul Menage" <menage@...gle.com>
To: "Li Zefan" <lizf@...fujitsu.com>
Cc: "Andrew Morton" <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
"Serge E. Hallyn" <serue@...ibm.com>,
"Pavel Emelianov" <xemul@...nvz.org>
Subject: Re: [PATCH 1/2] devcgroup: always show unsigned major/minor num
On Mon, Jul 7, 2008 at 6:27 PM, Li Zefan <lizf@...fujitsu.com> wrote:
>>> @@ -254,7 +254,7 @@ static void set_majmin(char *str, unsigned m)
>>> if (m == ~0)
>>> sprintf(str, "*");
>>
>> Can't this just be strcat(str, "*")?
>>
>
> No, but it can be strcpy(str, "*").
Oops, yes, that's what I should have put ...
Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists