diff options
Diffstat (limited to 'gnu/usr.bin/binutils')
-rw-r--r-- | gnu/usr.bin/binutils/binutils/bucomm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/binutils/bucomm.c b/gnu/usr.bin/binutils/binutils/bucomm.c index c9a21a5d4be..094baef427e 100644 --- a/gnu/usr.bin/binutils/binutils/bucomm.c +++ b/gnu/usr.bin/binutils/binutils/bucomm.c @@ -254,7 +254,7 @@ make_tempname (filename, isdir) if (isdir) { #ifdef HAVE_MKDTEMP - if (mkdtemp (tmpname) != (char *) NULL) + if (mkdtemp (tmpname) == (char *) NULL) #else mktemp (tmpname); #if defined (_WIN32) && !defined (__CYGWIN32__) |