From nobody Tue Aug 27 01:06:49 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wt8Ws5sl6z5TjP3; Tue, 27 Aug 2024 01:06:49 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wt8Ws4dhLz4mKL; Tue, 27 Aug 2024 01:06:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724720809; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LCn77Ag3FwovXzwn0AEWGDjyBsHQ4eN6fIbwTOkLosU=; b=sa72z+f5PiHgjOIGxg5imr1Esgp757DcRhmVui/YhiL0/FpYifDoIvJh2Wg+xbd1CT1F2p G4/vx7NOYj832uC8VWS1vo/pMwJJ+Xx3roiWHjyJRZGT+g80PYirhGOasYw2o2pe/Nwdw9 Ht+1ZJPgw+N5OvfMR+kEefGKuA2O84ERlvrd2VJhmZWYdLU9EbI37JC9LYCLALLfhk7lb3 JILIvshKnW1zARyAwvRAj4+PemjBLBWs6hXLjk/Hkl5VvG1qPaV1k8YyIbvi2tKWzjQbGX 6rBsXGnqxin9c6oLzYOi+s7CQC//I/whblprAcT3AOIVO5AOwIznj4J3r9FqKA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724720809; a=rsa-sha256; cv=none; b=fLW04ejzoY7CN+R6RU8X86eZORk5PH2Lwx0VTS4/3wqi0J8SPwi3gmue8yOfw8/f++miw4 RayoQo4avxR78Nl+4Nqay4dVx7ZiFtNPJkgtSJ8WtIC8V3GGE/Y9bJlPryvCcavwkFf13T mDE7hO5p1xuKvLfG7gz6JpDhcStLq4aD/W8dCkmBpJ5qI4xY9TMharJBQaL0byaMSNuktq WonHBVgFFLJC3t4U2pAOevwtBZMGWYRvJDOBOKx+MZlMsqsfUbRTtblHnPKz3gT+E7M6W1 0L2mySb3MFsXQDj63CS8op2pwCUNyPsf+trWqJJdAxYnH+xgAdS+eedNyectGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724720809; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LCn77Ag3FwovXzwn0AEWGDjyBsHQ4eN6fIbwTOkLosU=; b=W1kFCXkdXm3ATO7UiPe5DzwoUJj55J+9otHY7F18IjIctK/jdvk1L8tVMtH579i3G/4sci yrOndNE02bL7DlQozJ+2JR+fHgnhBnKEApdB3kuwTHcizAmlo5ocXcauYaEhtZ6LxMxIJs hxeyGOwsFGhK86DdiWw0paf0gs0rj/CiLNn4bQwYqczscvnNVPnGoKohOw6MPVjF6mJ3h0 ctY/PVYFIKg3DaQSkKdD1ZyCvcM6D1QlvTkkzAG4HLG6GCh8gYCPbknaUA9UUCxKN1vh6t bfQmDnLxCE4VWuT2FWSb5nXdwEP0Ga0crqRQbbgcUKGALbubFnqjVmRYbyaF+Q== 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 4Wt8Ws460HzTf7; Tue, 27 Aug 2024 01:06:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47R16nSU057591; Tue, 27 Aug 2024 01:06:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47R16nKQ057588; Tue, 27 Aug 2024 01:06:49 GMT (envelope-from git) Date: Tue, 27 Aug 2024 01:06:49 GMT Message-Id: <202408270106.47R16nKQ057588@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 37109ba0ec1f - stable/14 - nvmecontrol: add newlines where needed for ns command printfs List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 37109ba0ec1f5d17f5e006ec8f7a76aca4d7765d Auto-Submitted: auto-generated The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=37109ba0ec1f5d17f5e006ec8f7a76aca4d7765d commit 37109ba0ec1f5d17f5e006ec8f7a76aca4d7765d Author: Warner Losh AuthorDate: 2024-04-16 22:36:54 +0000 Commit: John Baldwin CommitDate: 2024-08-26 18:31:03 +0000 nvmecontrol: add newlines where needed for ns command printfs Sponsored by: Netflix Reviewed by: chuck, jhb Differential Revision: https://reviews.freebsd.org/D44681 (cherry picked from commit e39873820da7ddfddb59823efc3421125b92c17a) --- sbin/nvmecontrol/ns.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sbin/nvmecontrol/ns.c b/sbin/nvmecontrol/ns.c index 27f622162c7d..70392af19111 100644 --- a/sbin/nvmecontrol/ns.c +++ b/sbin/nvmecontrol/ns.c @@ -647,7 +647,7 @@ nsdelete(const struct cmd *f, int argc, char *argv[]) open_dev(path, &fd, 1, 1); } else if (delete_opt.nsid == NONE - 1) { close(fd); - fprintf(stderr, "No NSID specified"); + fprintf(stderr, "No NSID specified\n"); arg_help(argc, argv, f); } if (delete_opt.nsid != NONE - 1) @@ -713,7 +713,7 @@ nsattach(const struct cmd *f, int argc, char *argv[]) open_dev(path, &fd, 1, 1); } else if (attach_opt.nsid == NONE) { close(fd); - fprintf(stderr, "No NSID specified"); + fprintf(stderr, "No NSID specified\n"); arg_help(argc, argv, f); } if (attach_opt.nsid != NONE) @@ -783,7 +783,7 @@ nsdetach(const struct cmd *f, int argc, char *argv[]) open_dev(path, &fd, 1, 1); } else if (detach_opt.nsid == NONE) { close(fd); - fprintf(stderr, "No NSID specified"); + fprintf(stderr, "No NSID specified\n"); arg_help(argc, argv, f); } if (detach_opt.nsid != NONE) @@ -860,7 +860,7 @@ nsattached(const struct cmd *f, int argc, char *argv[]) open_dev(path, &fd, 1, 1); } else if (attached_opt.nsid == NONE) { close(fd); - fprintf(stderr, "No NSID specified"); + fprintf(stderr, "No NSID specified\n"); arg_help(argc, argv, f); } if (attached_opt.nsid != NONE) @@ -913,7 +913,7 @@ nsidentify(const struct cmd *f, int argc, char *argv[]) open_dev(path, &fd, 1, 1); } else if (identify_opt.nsid == NONE) { close(fd); - fprintf(stderr, "No NSID specified"); + fprintf(stderr, "No NSID specified\n"); arg_help(argc, argv, f); } if (identify_opt.nsid != NONE)