svn commit: r335734 - in stable: 10/contrib/amd/amq 11/contrib/amd/amq
Cy Schubert
cy at FreeBSD.org
Wed Jun 27 19:42:57 UTC 2018
Author: cy
Date: Wed Jun 27 19:42:55 2018
New Revision: 335734
URL: https://svnweb.freebsd.org/changeset/base/335734
Log:
MFC r335355:
Fix amq -i timestamp segmentation violation.
Modified:
stable/10/contrib/amd/amq/amq.c
Directory Properties:
stable/10/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/11/contrib/amd/amq/amq.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/10/contrib/amd/amq/amq.c
==============================================================================
--- stable/10/contrib/amd/amq/amq.c Wed Jun 27 19:29:15 2018 (r335733)
+++ stable/10/contrib/amd/amq/amq.c Wed Jun 27 19:42:55 2018 (r335734)
@@ -79,7 +79,7 @@ enum show_opt {
static void
time_print(time_type tt)
{
- time_t t = (time_t)*tt;
+ time_t t = (time_t)(intptr_t)tt;
struct tm *tp = localtime(&t);
printf("%02d/%02d/%04d %02d:%02d:%02d",
tp->tm_mon + 1, tp->tm_mday,
More information about the svn-src-all
mailing list