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=3D209699 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=3D170553&action= =3Dedit 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=3D121, ino=3D2812114, mode=3D0100644= , nlink=3D1, uid=3D1000, gid=3D1000, rdev=3D0, atime=3D1463938446.572306000, stime=3D1463938446.572306000, ctime=3D1463938446.572306000, birthtime=3D1463938446.572304000, size=3D0, blksize=3D32768, blocks=3D0, fl= ags=3D0x0 } 74440 ls RET fstatat 0 I can't think of a good reason for this. Maybe a typo? Trivial patch attach= ed. Noticed on 10.3-STABLE, but it still applies to 11.0-CURRENT. --=20 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>