diff options
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_conftests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_conftests.py b/buildtools/wafsamba/samba_conftests.py index ecdf8e7abd..e709929ba9 100644 --- a/buildtools/wafsamba/samba_conftests.py +++ b/buildtools/wafsamba/samba_conftests.py @@ -267,7 +267,7 @@ def CHECK_UNAME(conf): for v in "sysname machine release version".split(): if not conf.CHECK_CODE(''' struct utsname n; - if (uname(&n) != 0) return -1; + if (uname(&n) == -1) return -1; printf("%%s", n.%s); ''' % v, define='SYSTEM_UNAME_%s' % v.upper(), |