[SPARC]: Fix regression in sys_getdomainname()
authorAndy Walker <andy@puszczka.com>
Mon, 18 Sep 2006 14:11:36 +0000 (07:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Sep 2006 14:11:36 +0000 (07:11 -0700)
commitb9c54f91a48146778fe91423d4d467a0ee8c719b
treef123be6ee2fb44b5795a3aa6f0ccbc8e9ea19d2b
parentb9b64e6e89fc5a6ef220747115c5b7764614ca3f
[SPARC]: Fix regression in sys_getdomainname()

This patch corrects the buffer length checking in the
sys_getdomainname() implementation for sparc/sparc64.

Signed-off-by: Andy Walker <andy@puszczka.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/sys_sparc.c
arch/sparc64/kernel/sys_sparc.c