I had meant to say the array contains 3 elements but should only access index 2.
Sorry for the confusion.

-Scott

Ingo Oeser wrote:
Hi Scott,

You wrote:

This is a bug. The array should contain 2 elements.


Sure? It either contains 3 elements or your patch is not fixing the issue.
Please comment on the list which one is wrong :-)

Remember that array indexes start with 0 in C:

        int ary[3];
        ary[0] = 1;
        ary[1] = 2;
        ary[2] = 3;
Regards

Ingo Oeser
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to