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/11/contrib/amd/amq/amq.c
Directory Properties:
stable/11/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/10/contrib/amd/amq/amq.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/11/contrib/amd/amq/amq.c
==============================================================================
--- stable/11/contrib/amd/amq/amq.c Wed Jun 27 19:29:15 2018
(r335733)
+++ stable/11/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,
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"