Fixed a problem in the output of %i's 'T' flag on devices and
authorWayne Davison <wayned@samba.org>
Tue, 24 Jan 2006 22:22:17 +0000 (22:22 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 24 Jan 2006 22:22:17 +0000 (22:22 +0000)
got rid of the unused 'a' flag.

log.c

diff --git a/log.c b/log.c
index 65952b5..d4cce69 100644 (file)
--- a/log.c
+++ b/log.c
@@ -541,13 +541,11 @@ static void log_formatted(enum logcode code, char *format, char *op,
                        n[2] = !(iflags & ITEM_REPORT_CHECKSUM) ? '.' : 'c';
                        n[3] = !(iflags & ITEM_REPORT_SIZE) ? '.' : 's';
                        n[4] = !(iflags & ITEM_REPORT_TIME) ? '.'
-                            : !preserve_times || IS_DEVICE(file->mode)
-                                              || S_ISLNK(file->mode) ? 'T' : 't';
+                            : !preserve_times || S_ISLNK(file->mode) ? 'T' : 't';
                        n[5] = !(iflags & ITEM_REPORT_PERMS) ? '.' : 'p';
                        n[6] = !(iflags & ITEM_REPORT_OWNER) ? '.' : 'o';
                        n[7] = !(iflags & ITEM_REPORT_GROUP) ? '.' : 'g';
-                       n[8] = !(iflags & ITEM_REPORT_XATTRS) ? '.' : 'a';
-                       n[9] = '\0';
+                       n[8] = '\0';
 
                        if (iflags & (ITEM_IS_NEW|ITEM_MISSING_DATA)) {
                                char ch = iflags & ITEM_IS_NEW ? '+' : '?';