summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Harrison <colin.harrison@virgin.net>2009-10-20 17:34:19 +0100
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-10-20 10:41:47 -0700
commit51c3533c363f3224cbed37b3d8980bc8c1fa9ce1 (patch)
tree2a3b9bcdf7499170bb916843fc1d74183a10fee5
parentf373e193a48eaf6d799d0b6ad32fd58d8ae8b3bd (diff)
downloadxorg-lib-libXaw-51c3533c363f3224cbed37b3d8980bc8c1fa9ce1.tar.gz
Lost parenthesis in a recent libXaw change
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r--src/AsciiSrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AsciiSrc.c b/src/AsciiSrc.c
index f3f013e..4361732 100644
--- a/src/AsciiSrc.c
+++ b/src/AsciiSrc.c
@@ -1292,7 +1292,7 @@ WriteToFile(String string, String name, unsigned length)
{
int fd;
- if (fd = creat(name, 0666) == -1)
+ if ((fd = creat(name, 0666)) == -1)
return (False);
if (write(fd, string, length) == -1) {