sscanf("-1", "%d", &i) fails, returns 0

From: Douglas Gilbert (
Date: Fri Nov 08 2002 - 08:32:10 EST

In lk 2.5.46-bk3 the expression in the subject line
fails to write into "i" and returns 0. Drop the minus
sign and it works.

Doug Gilbert

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:15 EST