message string changes, mostly for consistency, also -32 bytes in .rodata

This commit is contained in:
Denis Vlasenko
2006-10-20 13:28:22 +00:00
parent dd2982882b
commit e1a0d486e4
71 changed files with 127 additions and 130 deletions

View File

@@ -58,12 +58,12 @@ int udhcp_get_packet(struct dhcpMessage *packet, int fd)
memset(packet, 0, sizeof(struct dhcpMessage));
bytes = read(fd, packet, sizeof(struct dhcpMessage));
if (bytes < 0) {
DEBUG("couldn't read on listening socket, ignoring");
DEBUG("cannot read on listening socket, ignoring");
return -1;
}
if (ntohl(packet->cookie) != DHCP_MAGIC) {
bb_error_msg("Received bogus message, ignoring");
bb_error_msg("received bogus message, ignoring");
return -2;
}
DEBUG("Received a packet");