[Bug 269377] netinet/tcp_usrreq.c: typo in ddb prints

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 06 Feb 2023 17:29:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269377

            Bug ID: 269377
           Summary: netinet/tcp_usrreq.c: typo in ddb prints
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: guhaoyu2005@gmail.com

Created attachment 239954
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=239954&action=edit
This diff fixes the tcpcb ddb printing issue.

Hello,

In DDB, the "show tcpcb [addr]" command prints the tcp control block states.
However the snd_nxt field is not being printed properly in hex format. 

Current print -> snd_nxt: x012345678
Correct print -> snd_nxt: 0x12345678

The attached patch fixes this issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.