summaryrefslogtreecommitdiff
path: root/usr.bin/diff/diffdir.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-25 03:50:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-25 03:50:28 +0000
commit52cd8f2cef83950e40efc157c1c07d60234d7c8c (patch)
treed59a470929641e6b7f85e6b975894c84fcdf6fe0 /usr.bin/diff/diffdir.c
parenta010be9c458a505672dbe0fe1324a00f8563d109 (diff)
more knf
Diffstat (limited to 'usr.bin/diff/diffdir.c')
-rw-r--r--usr.bin/diff/diffdir.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/diff/diffdir.c b/usr.bin/diff/diffdir.c
index 252f9f5984a..7d7ab6913c0 100644
--- a/usr.bin/diff/diffdir.c
+++ b/usr.bin/diff/diffdir.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diffdir.c,v 1.9 2003/06/25 03:44:49 deraadt Exp $ */
+/* $OpenBSD: diffdir.c,v 1.10 2003/06/25 03:50:27 deraadt Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
@@ -105,7 +105,8 @@ diffdir(char **argv)
strlcat(title, diffargv[i], sizeof title);
strlcat(title, " ", sizeof title);
}
- for (etitle = title; *etitle; etitle++);
+ for (etitle = title; *etitle; etitle++)
+ ;
setfile(&file1, &efile1, file1);
setfile(&file2, &efile2, file2);
argv[0] = file1;