From 1f4061b29e09323101bbd291412929c8f1b11dcd Mon Sep 17 00:00:00 2001 From: tsi Date: Mon, 19 Jun 2006 13:43:23 +0000 Subject: 15. Fix uname(2) usage throughout the source tree. This is an extension of Alan Coopersmith's response to X.Org Bugzilla #2123 (Marc La France). --- config/imake/imake.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/imake/imake.c b/config/imake/imake.c index 05825a588..09f144df6 100644 --- a/config/imake/imake.c +++ b/config/imake/imake.c @@ -526,7 +526,7 @@ init(void) * Sharable imake configurations require a * machine identifier. */ - if (uname(&uts) != 0) + if (uname(&uts) < 0) LogFatal("uname(3) failed; can't tell what %s", "kind of machine you have."); @@ -1916,7 +1916,7 @@ ReadLine(FILE *tmpfd, char *tmpfname) initialized = TRUE; fprintf (tmpfd, "# Makefile generated by imake - do not edit!\n"); fprintf (tmpfd, "# %s\n", - "$XFree86: xc/config/imake/imake.c,v 3.67 2005/09/14 14:23:14 tsi Exp $"); + "$XFree86: xc/config/imake/imake.c,v 3.68tsi Exp $"); } for (p1 = pline; p1 < end; p1++) { -- cgit v1.2.3