diff --git a/ChangeLog b/ChangeLog index d3d0a61e6..b0bed2c37 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-03-08 Vladimir Serbinenko + + * grub-core/net/net.c (grub_net_addr_to_str): Don't translate + "temporary" since it's used in identifier and is limited in space. + 2012-03-08 Vladimir Serbinenko * po/POTFILES.in: Regenerate. Include *.h since they contain diff --git a/grub-core/net/net.c b/grub-core/net/net.c index f1db81560..6dbb88ede 100644 --- a/grub-core/net/net.c +++ b/grub-core/net/net.c @@ -684,7 +684,7 @@ grub_net_addr_to_str (const grub_net_network_level_address_t *target, char *buf) { case GRUB_NET_NETWORK_LEVEL_PROTOCOL_DHCP_RECV: /* TRANSLATORS: it refers to the network address. */ - grub_strcpy (buf, _("temporary")); + grub_strncpy (buf, "temporary", GRUB_NET_MAX_STR_ADDR_LEN); return; case GRUB_NET_NETWORK_LEVEL_PROTOCOL_IPV6: {