summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-10-29 12:14:31 +0000
committerdes <des@FreeBSD.org>2002-10-29 12:14:31 +0000
commit0fd8aff7aae7c8f8fb296e55c943824faa85fd24 (patch)
tree4e3ea0ae014f6c5c613345c9f443ad2ceab17e87 /usr.sbin
parent9ac588fcdc62b97e03cc79a1fec7c4d7d3db67e7 (diff)
downloadFreeBSD-src-0fd8aff7aae7c8f8fb296e55c943824faa85fd24.zip
FreeBSD-src-0fd8aff7aae7c8f8fb296e55c943824faa85fd24.tar.gz
Whitespace cleanup
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_install/lib/file.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c
index 64e6bcf..a51e8be 100644
--- a/usr.sbin/pkg_install/lib/file.c
+++ b/usr.sbin/pkg_install/lib/file.c
@@ -88,7 +88,7 @@ isfile(const char *fname)
return FALSE;
}
-/*
+/*
* Check to see if file is a file or symlink pointing to a file and is empty.
* If nonexistent or not a file, say "it's empty", otherwise return TRUE if
* zero sized.
@@ -190,7 +190,7 @@ fileGetURL(const char *base, const char *spec)
strcpy(fname, hint);
strcat(fname, spec);
/* XXX: need to handle .tgz also */
- strcat(fname, ".tbz");
+ strcat(fname, ".tbz");
}
}
else
@@ -201,7 +201,7 @@ fileGetURL(const char *base, const char *spec)
fname, fetchLastErrString);
return NULL;
}
-
+
if (isatty(0) || Verbose)
printf("Fetching %s...", fname), fflush(stdout);
pen[0] = '\0';
@@ -429,11 +429,11 @@ copy_hierarchy(const char *dir, const char *fname, Boolean to)
if (*fname == '/')
dir = "/";
snprintf(cmd, FILENAME_MAX * 3, "tar cf - -C %s %s | tar xpf -",
- dir, fname);
+ dir, fname);
}
else
snprintf(cmd, FILENAME_MAX * 3, "tar cf - %s | tar xpf - -C %s",
- fname, dir);
+ fname, dir);
#ifdef DEBUG
printf("Using '%s' to copy trees.\n", cmd);
#endif
OpenPOWER on IntegriCloud