Re: [PATCH 1/2] devcgroup: always show unsigned major/minor num

From: Paul Menage
Date: Mon Jul 07 2008 - 21:33:34 EST


On Mon, Jul 7, 2008 at 6:27 PM, Li Zefan <lizf@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/