From 919fac924a81d8dc16f31885ffffea03503316c5 Mon Sep 17 00:00:00 2001 From: Peter Tripician Date: Tue, 17 Feb 2009 04:32:19 +0000 Subject: [PATCH] DEVEL15-bozo-corefile-timestamp-fix-20090216 LICENSE IPL10 FIXES 124340 output y2k-correct corefile names (cherry picked from commit 846919700b90b919d6a12102ae8c6d85ee36b83c) --- src/bozo/bnode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bozo/bnode.c b/src/bozo/bnode.c index 417c53f722..9d326847fe 100644 --- a/src/bozo/bnode.c +++ b/src/bozo/bnode.c @@ -147,7 +147,7 @@ SaveCore(register struct bnode *abnode, register struct bnode_proc FT_GetTimeOfDay(&Start, 0); TimeFields = localtime(&Start.tv_sec); sprintf(FileName, "%s.%d%02d%02d%02d%02d%02d", tbuffer, - TimeFields->tm_year, TimeFields->tm_mon + 1, TimeFields->tm_mday, + TimeFields->tm_year + 1900, TimeFields->tm_mon + 1, TimeFields->tm_mday, TimeFields->tm_hour, TimeFields->tm_min, TimeFields->tm_sec); strcpy(tbuffer, FileName); #endif