summaryrefslogtreecommitdiff
path: root/net-mgmt/flow-tools/files/patch-ftfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/flow-tools/files/patch-ftfile.c')
-rw-r--r--net-mgmt/flow-tools/files/patch-ftfile.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/flow-tools/files/patch-ftfile.c b/net-mgmt/flow-tools/files/patch-ftfile.c
new file mode 100644
index 000000000000..d9863d07eda6
--- /dev/null
+++ b/net-mgmt/flow-tools/files/patch-ftfile.c
@@ -0,0 +1,11 @@
+--- lib/ftfile.c Tue Apr 24 14:07:18 2001
++++ lib/ftfile.c Tue Apr 16 16:52:49 2002
+@@ -449,7 +449,7 @@
+ } else if (nest == -2) {
+ sprintf(dbuf, "%2.2d-%2.2d/%2.2d-%2.2d-%2.2d/",
+ (int)tm->tm_year+1900, (int)tm->tm_mon+1,
+- (int)tm->tm_year+1900, (int)tm->tm_mon+1, (int)tm->tm_mon+1);
++ (int)tm->tm_year+1900, (int)tm->tm_mon+1, (int)tm->tm_mday);
+ } else if (nest == -1) {
+ sprintf(dbuf, "%2.2d/%2.2d-%2.2d/%2.2d-%2.2d-%2.2d/",
+ (int)tm->tm_year+1900,