[Bug 209699] kdump: "stime" should be "mtime" in struct stat decoding
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 22 17:45:56 UTC 2016
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 at FreeBSD.org
Reporter: naddy at 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.
More information about the freebsd-bugs
mailing list