Date: Sun, 22 May 2016 17:45:56 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 209699] kdump: "stime" should be "mtime" in struct stat decoding Message-ID: <bug-209699-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209699 Bug ID: 209699 Summary: kdump: "stime" should be "mtime" in struct stat decoding Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: naddy@FreeBSD.org Created attachment 170553 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170553&action=edit kdump.c patch When kdump decodes struct stat, the mtime field is labeled "stime": 74440 ls CALL fstatat(AT_FDCWD,0x801846388,0x801846310,0x200) 74440 ls NAMI "foo" 74440 ls STRU struct stat {dev=121, ino=2812114, mode=0100644, nlink=1, uid=1000, gid=1000, rdev=0, atime=1463938446.572306000, stime=1463938446.572306000, ctime=1463938446.572306000, birthtime=1463938446.572304000, size=0, blksize=32768, blocks=0, flags=0x0 } 74440 ls RET fstatat 0 I can't think of a good reason for this. Maybe a typo? Trivial patch attached. Noticed on 10.3-STABLE, but it still applies to 11.0-CURRENT. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209699-8>
