aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9p.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/9p.c')
-rw-r--r--src/cmd/9p.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cmd/9p.c b/src/cmd/9p.c
index bace6d09..99033bc8 100644
--- a/src/cmd/9p.c
+++ b/src/cmd/9p.c
@@ -336,10 +336,8 @@ timefmt(Fmt *fmt)
if((long)(time0-u) < 6*30*86400)
return fmtprint(fmt, "%s %2d %02d:%02d",
mon[tm->mon], tm->mday, tm->hour, tm->min);
- else
- return fmtprint(fmt, "%s %2d %5d",
- mon[tm->mon], tm->mday, tm->year+1900);
- return 0;
+ return fmtprint(fmt, "%s %2d %5d",
+ mon[tm->mon], tm->mday, tm->year+1900);
}
static int