fixed sortscmp typo a -> !a
authorChristos Zoulas <christos@ucbvax.Berkeley.EDU>
Fri, 12 Feb 1993 09:13:47 +0000 (01:13 -0800)
committerChristos Zoulas <christos@ucbvax.Berkeley.EDU>
Fri, 12 Feb 1993 09:13:47 +0000 (01:13 -0800)
SCCS-vsn: bin/csh/glob.c 5.39

usr/src/bin/csh/glob.c

index a2a8822..ab723cc 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)glob.c     5.38 (Berkeley) %G%";
+static char sccsid[] = "@(#)glob.c     5.39 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/param.h>
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -893,7 +893,7 @@ sortscmp(a, b)
     char    buf[2048];
 #endif
 
     char    buf[2048];
 #endif
 
-    if (a)                     /* check for NULL */
+    if (!a)                    /* check for NULL */
        return (b ? 1 : 0);
     if (!b)
        return (-1);
        return (b ? 1 : 0);
     if (!b)
        return (-1);