changeset 11695:04bf1fc2c3f2

6925968 truss prints 'atime' instead of 'mtime' for utimensat() and futimens()
author Pavel Filipensky <Pavel.Filipensky@Sun.COM>
date Thu, 18 Feb 2010 21:43:27 +0000
parents c35b670c8a4f
children d5bf02b6c6d2
files usr/src/cmd/truss/expound.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/truss/expound.c	Thu Feb 18 14:15:42 2010 -0700
+++ b/usr/src/cmd/truss/expound.c	Thu Feb 18 21:43:27 2010 +0000
@@ -20,7 +20,7 @@
  */
 
 /*
- * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
@@ -251,7 +251,7 @@
 	else if (utimbuf.mtime.tv_nsec == UTIME_NOW)
 		(void) printf("%s\tmt = UTIME_NOW\n", pri->pname);
 	else
-		prtimestruc(pri, "mt = ", &utimbuf.atime);
+		prtimestruc(pri, "mt = ", &utimbuf.mtime);
 }
 
 void