15 lines
433 B
Text
15 lines
433 B
Text
$NetBSD: patch-ah,v 1.3 2012/05/10 19:01:09 schwarz Exp $
|
|
|
|
Handle IRIX the same way as Solaris
|
|
|
|
--- do_acct.c.orig 2012-05-06 23:28:47.000000000 +0200
|
|
+++ do_acct.c 2012-05-06 23:31:37.000000000 +0200
|
|
@@ -230,7 +230,7 @@
|
|
else
|
|
memcpy(entry.ut_name, name, sizeof(entry.ut_name));
|
|
|
|
-#ifndef SOLARIS
|
|
+#if !defined(SOLARIS) && !defined(__sgi)
|
|
if (strlen(host) < sizeof entry.ut_host)
|
|
strcpy(entry.ut_host, host);
|
|
else
|