summaryrefslogtreecommitdiff
path: root/coreutils/date.c
diff options
context:
space:
mode:
authorErik Andersen2000-01-29 07:06:24 +0000
committerErik Andersen2000-01-29 07:06:24 +0000
commit04e97024e78f452526f710a5b3969c78a65f2b33 (patch)
treed5eba84927f0426038db2a1ef3b8b241996fd420 /coreutils/date.c
parenta6d0dbc86fd8a84f9c2a05f77013bd3eb5efa697 (diff)
downloadbusybox-04e97024e78f452526f710a5b3969c78a65f2b33.zip
busybox-04e97024e78f452526f710a5b3969c78a65f2b33.tar.gz
Clear up some ambiguity with old style assignments.
-Erik
Diffstat (limited to 'coreutils/date.c')
-rw-r--r--coreutils/date.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/date.c b/coreutils/date.c
index 6be89df..77e7c39 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -204,10 +204,10 @@ date_main(int argc, char * * argv)
}
} else {
if ( (date_fmt == NULL) && (strcmp(*argv, "+")==0) )
- date_fmt=*argv;
+ date_fmt = *argv;
else if (date_str == NULL) {
set_time = 1;
- date_str=*argv;
+ date_str = *argv;
} else {
usage ( date_usage);
}