]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(canonicalize_file_name): Remove stray semicolon
authorJim Meyering <jim@meyering.net>
Thu, 10 Apr 2003 15:57:45 +0000 (15:57 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 10 Apr 2003 15:57:45 +0000 (15:57 +0000)
that caused `readlink --canonical RELATIVE_NAME' to fail on e.g.,
Solaris systems.

lib/canonicalize.c

index f540c2216ec742ed3877b78a377b0c6782482ccf..66622817bebf1a8d78a0a3031e39a90038107efd 100644 (file)
@@ -130,7 +130,7 @@ canonicalize_file_name (const char *name)
     {
       char *wd;
 
-      if (!(wd = xgetcwd ()));
+      if (!(wd = xgetcwd ()))
        return NULL;
 
       extra_buf = path_concat (wd, name, NULL);