patch-ip_iplink_can_c 435 B

1234567891011
  1. --- iproute2-3.10.0.orig/ip/iplink_can.c 2013-07-16 19:06:36.000000000 +0200
  2. +++ iproute2-3.10.0/ip/iplink_can.c 2013-08-17 15:08:28.418918323 +0200
  3. @@ -107,7 +107,7 @@ static int can_parse_opt(struct link_uti
  4. if (get_u32(&bt.bitrate, *argv, 0))
  5. invarg("invalid \"bitrate\" value\n", *argv);
  6. } else if (matches(*argv, "sample-point") == 0) {
  7. - float sp;
  8. + float sp = 0;
  9. NEXT_ARG();
  10. if (get_float(&sp, *argv))