From owner-dev-commits-src-all@freebsd.org Tue Apr 20 21:51:37 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 87CFB5EAB92; Tue, 20 Apr 2021 21:51:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FPy7Y1kcmz3mw3; Tue, 20 Apr 2021 21:51:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 21B2A1A840; Tue, 20 Apr 2021 21:51:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13KLpbfK019838; Tue, 20 Apr 2021 21:51:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13KLpbNN019837; Tue, 20 Apr 2021 21:51:37 GMT (envelope-from git) Date: Tue, 20 Apr 2021 21:51:37 GMT Message-Id: <202104202151.13KLpbNN019837@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 8ef97d2ba339 - main - dconschat: Remove support for FreeBSD 4.x and earlier. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8ef97d2ba339f84d96b0c68235da92903fbf54ce Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2021 21:51:37 -0000 The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=8ef97d2ba339f84d96b0c68235da92903fbf54ce commit 8ef97d2ba339f84d96b0c68235da92903fbf54ce Author: Warner Losh AuthorDate: 2021-04-20 21:46:56 +0000 Commit: Warner Losh CommitDate: 2021-04-20 21:51:31 +0000 dconschat: Remove support for FreeBSD 4.x and earlier. Sponsored by: Netflix --- usr.sbin/dconschat/dconschat.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/usr.sbin/dconschat/dconschat.c b/usr.sbin/dconschat/dconschat.c index 6d4750585df6..c7e21460226c 100644 --- a/usr.sbin/dconschat/dconschat.c +++ b/usr.sbin/dconschat/dconschat.c @@ -383,11 +383,7 @@ dconschat_fetch_header(struct dcons_state *dc) } if (ntohl(dbuf.version) != DCONS_VERSION) { snprintf(ebuf, sizeof(ebuf), -#if __FreeBSD_version < 500000 - "wrong version %ld,%d", -#else "wrong version %d,%d", -#endif ntohl(dbuf.version), DCONS_VERSION); /* XXX exit? */ dconschat_ready(dc, 0, ebuf); @@ -419,13 +415,8 @@ dconschat_fetch_header(struct dcons_state *dc) if (verbose) { printf("port %d size offset gen pos\n", j); -#if __FreeBSD_version < 500000 - printf("output: %5d %6ld %5d %5d\n" - "input : %5d %6ld %5d %5d\n", -#else printf("output: %5d %6d %5d %5d\n" "input : %5d %6d %5d %5d\n", -#endif o->size, ntohl(dbuf.ooffset[j]), o->gen, o->pos, i->size, ntohl(dbuf.ioffset[j]), i->gen, i->pos); }