White space only
[ghc-hetmet.git] / utils / lndir / lndir.c
index 6cc240a..bfce2b5 100644 (file)
@@ -43,6 +43,8 @@ in this Software without prior written authorization from the X Consortium.
         %  lndir ../X
 */
 
+#define NeedVarargsPrototypes 1
+
 #include "lndir-Xos.h"
 #include <stdlib.h>
 #include <stdio.h>
@@ -176,7 +178,7 @@ int copyfile(const char *oldpath, const char *newpath) {
     char buf[BUFSIZE];
 
 #ifdef SYMLINKS
-    if (copy) {
+    if (copy == 0) {
         return symlink(oldpath, newpath);
     } else {
 #endif