diff options
author | tsi <tsi> | 2006-06-19 13:43:23 +0000 |
---|---|---|
committer | tsi <tsi> | 2006-06-19 13:43:23 +0000 |
commit | 1f4061b29e09323101bbd291412929c8f1b11dcd (patch) | |
tree | 21845ceaf40d3a353ac9d9bfba807648c86d5642 /config | |
parent | cf2d7bef708b863821fbe9091030bc5d78ca7aa7 (diff) |
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).
Diffstat (limited to 'config')
-rw-r--r-- | config/imake/imake.c | 4 |
1 files changed, 2 insertions, 2 deletions
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++) { |