strncmp uses in arch/m68k/sun3/prom/console.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These might be corrected to sizeof("foo") - 1

arch/m68k/sun3/prom/console.c:          if(strncmp(propb, "serial", sizeof("serial")))
arch/m68k/sun3/prom/console.c:                  strncmp("display", propb, sizeof("display")) == 0)
arch/m68k/sun3/prom/console.c:                  if(strncmp("serial", propb, sizeof("serial")))


--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux