From owner-svn-src-head@freebsd.org Tue Jul 21 09:57:14 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 146E39A6B13; Tue, 21 Jul 2015 09:57:14 +0000 (UTC) (envelope-from pluknet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 053501B46; Tue, 21 Jul 2015 09:57:14 +0000 (UTC) (envelope-from pluknet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6L9vDZw074309; Tue, 21 Jul 2015 09:57:13 GMT (envelope-from pluknet@FreeBSD.org) Received: (from pluknet@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6L9vDpZ074308; Tue, 21 Jul 2015 09:57:13 GMT (envelope-from pluknet@FreeBSD.org) Message-Id: <201507210957.t6L9vDpZ074308@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pluknet set sender to pluknet@FreeBSD.org using -f From: Sergey Kandaurov Date: Tue, 21 Jul 2015 09:57:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r285741 - head/sys/kern X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 09:57:14 -0000 Author: pluknet Date: Tue Jul 21 09:57:13 2015 New Revision: 285741 URL: https://svnweb.freebsd.org/changeset/base/285741 Log: Fix sb_state constant names as used e.g. to display in DDB ``show sockbuf''. MFC after: 1 week Modified: head/sys/kern/uipc_debug.c Modified: head/sys/kern/uipc_debug.c ============================================================================== --- head/sys/kern/uipc_debug.c Tue Jul 21 09:54:31 2015 (r285740) +++ head/sys/kern/uipc_debug.c Tue Jul 21 09:57:13 2015 (r285741) @@ -209,15 +209,15 @@ db_print_sbstate(short sb_state) comma = 0; if (sb_state & SBS_CANTSENDMORE) { - db_printf("%sSS_CANTSENDMORE", comma ? ", " : ""); + db_printf("%sSBS_CANTSENDMORE", comma ? ", " : ""); comma = 1; } if (sb_state & SBS_CANTRCVMORE) { - db_printf("%sSS_CANTRCVMORE", comma ? ", " : ""); + db_printf("%sSBS_CANTRCVMORE", comma ? ", " : ""); comma = 1; } if (sb_state & SBS_RCVATMARK) { - db_printf("%sSS_RCVATMARK", comma ? ", " : ""); + db_printf("%sSBS_RCVATMARK", comma ? ", " : ""); comma = 1; } }