summaryrefslogtreecommitdiff
path: root/usr.bin/touch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-20 19:16:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-20 19:16:35 +0000
commitb72e65ef534da4e0ee5532f538def6d45bf9307b (patch)
treed2238f57da57552cfb31861f37a34c73806b229e /usr.bin/touch
parent830a10b319d26ee7b6f3eb8665babba0e0ac79e4 (diff)
spacing
Diffstat (limited to 'usr.bin/touch')
-rw-r--r--usr.bin/touch/touch.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/touch/touch.c b/usr.bin/touch/touch.c
index 5eb67d669c8..98f87037f11 100644
--- a/usr.bin/touch/touch.c
+++ b/usr.bin/touch/touch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: touch.c,v 1.11 2005/04/20 19:13:53 otto Exp $ */
+/* $OpenBSD: touch.c,v 1.12 2005/04/20 19:16:34 deraadt Exp $ */
/* $NetBSD: touch.c,v 1.11 1995/08/31 22:10:06 jtc Exp $ */
/*
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)touch.c 8.2 (Berkeley) 4/28/95";
#endif
-static char rcsid[] = "$OpenBSD: touch.c,v 1.11 2005/04/20 19:13:53 otto Exp $";
+static char rcsid[] = "$OpenBSD: touch.c,v 1.12 2005/04/20 19:16:34 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -78,7 +78,7 @@ main(int argc, char *argv[])
err(1, "gettimeofday");
while ((ch = getopt(argc, argv, "acfmr:t:")) != -1)
- switch(ch) {
+ switch (ch) {
case 'a':
aflag = 1;
break;
@@ -200,9 +200,9 @@ stime_arg1(char *arg, struct timeval *tvp)
*p++ = '\0';
t->tm_sec = ATOI2(p);
}
-
+
yearset = 0;
- switch(strlen(arg)) {
+ switch (strlen(arg)) {
case 12: /* CCYYMMDDhhmm */
t->tm_year = ATOI2(arg) * 100 - TM_YEAR_BASE;
yearset = 1;