aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tar/tree.c
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2006-03-21 17:03:51 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2006-03-21 17:03:51 +0000
commit6b422e20c1efe899fd112e8021c0b6dab87b3333 (patch)
tree95e77682c7792281c3e4dd227adcb76fd79264d6 /usr.bin/tar/tree.c
parent2228e327554de7a7c2b875bbc29ca4d7b78d71f1 (diff)
downloadsrc-6b422e20c1efe899fd112e8021c0b6dab87b3333.tar.gz
src-6b422e20c1efe899fd112e8021c0b6dab87b3333.zip
Extended attribute support on write for Linux; FreeBSD hooks are
forthcoming. This commit also has a number of style(9) fixes and minor corrections so the code works better with the build system being used for non-FreeBSD builds. Many thanks to: Jaakko Heinonen, who proposed a mechanism for extended attribute support and implemented both the machine-independent portion and the Linux-specific portion.
Notes
Notes: svn path=/head/; revision=156962
Diffstat (limited to 'usr.bin/tar/tree.c')
-rw-r--r--usr.bin/tar/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tar/tree.c b/usr.bin/tar/tree.c
index 944a787bcf47..6ecb5deaede0 100644
--- a/usr.bin/tar/tree.c
+++ b/usr.bin/tar/tree.c
@@ -130,7 +130,7 @@ tree_dump(struct tree *t, FILE *out)
fprintf(out, "\tpwd: "); fflush(stdout); system("pwd");
fprintf(out, "\taccess: %s\n", t->basename);
fprintf(out, "\tstack:\n");
- for(te = t->stack; te != NULL; te = te->next) {
+ for (te = t->stack; te != NULL; te = te->next) {
fprintf(out, "\t\tte->name: %s%s%s\n", te->name,
te->flags & needsPreVisit ? "" : " *",
t->current == te ? " (current)" : "");