summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffreg.c
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2004-10-20 08:52:19 +0000
committerotto <otto@openbsd.org>2004-10-20 08:52:19 +0000
commitc03f4b43f090ea639501a5e28eae384f0b3fa5e8 (patch)
treefca43110e09c30d529a09f8624b4f605c60342e7 /usr.bin/diff/diffreg.c
parentfix printing of groups - instead of surrounding each neighbor statement (diff)
downloadwireguard-openbsd-c03f4b43f090ea639501a5e28eae384f0b3fa5e8.tar.xz
wireguard-openbsd-c03f4b43f090ea639501a5e28eae384f0b3fa5e8.zip
Change tabs in string constants to \t. "of course" deraadt@
Diffstat (limited to 'usr.bin/diff/diffreg.c')
-rw-r--r--usr.bin/diff/diffreg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/diff/diffreg.c b/usr.bin/diff/diffreg.c
index 374de9047d3..b59a8385c08 100644
--- a/usr.bin/diff/diffreg.c
+++ b/usr.bin/diff/diffreg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diffreg.c,v 1.58 2004/09/14 23:04:27 deraadt Exp $ */
+/* $OpenBSD: diffreg.c,v 1.59 2004/10/20 08:52:19 otto Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
@@ -65,7 +65,7 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: diffreg.c,v 1.58 2004/09/14 23:04:27 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: diffreg.c,v 1.59 2004/10/20 08:52:19 otto Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -1052,10 +1052,10 @@ proceed:
printf("%s %s\n",
format == D_CONTEXT ? "***" : "---", label);
else
- printf("%s %s %s",
+ printf("%s %s\t%s",
format == D_CONTEXT ? "***" : "---", file1,
ctime(&stb1.st_mtime));
- printf("%s %s %s",
+ printf("%s %s\t%s",
format == D_CONTEXT ? "---" : "+++", file2,
ctime(&stb2.st_mtime));
anychange = 1;