tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mtree output "time=..." superfluous whitespace



All other appendfield() calls have no whitespace.  I can't think
of how this change can be harmful.  Just for safety.

Index: usr.sbin/mtree/spec.c
===================================================================
RCS file: /cvsroot/src/usr.sbin/mtree/spec.c,v
retrieving revision 1.78
diff -u -p -r1.78 spec.c
--- usr.sbin/mtree/spec.c       22 Sep 2009 04:38:21 -0000      1.78
+++ usr.sbin/mtree/spec.c       13 Feb 2011 12:10:31 -0000
@@ -358,7 +358,7 @@ dump_nodes(const char *dir, NODE *root, 
                if (MATCHFLAG(F_SIZE))
                        appendfield(pathlast, "size=%lld", (long 
long)cur->st_size);
                if (MATCHFLAG(F_TIME))
-                       appendfield(pathlast, "time=%lld.%ld ",
+                       appendfield(pathlast, "time=%lld.%ld",
                            (long long)cur->st_mtimespec.tv_sec,
                            cur->st_mtimespec.tv_nsec);
                if (MATCHFLAG(F_CKSUM))


Home | Main Index | Thread Index | Old Index