From nobody Wed Apr 17 03:33:54 2024 X-Original-To: dev-commits-src-main@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 4VK62V5tLTz5HjYR; Wed, 17 Apr 2024 03:33:54 +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 4VK62V4NTwz4Qsx; Wed, 17 Apr 2024 03:33:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713324834; 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=3rMyp1wFwL/HckVwpzUvMSp/5Zr5IcsGxXzSgogGnu8=; b=vGYqVvCPXYuwtQSVXRLhY73IDCTLYdCIsaY3a7QAPm8u93AyzDR+c3pbIPtSIWxhjBaRqN JQfDi11d80YRudsuH7bbo8HPnlyufqedRTydEjCLKQW4dpIpnpqpML8roQjFMUQeh0DbnE zvPdCWlc7Tmco+z2P6x4MKBttqx3aPkVJDkJtbfj4juuId0FGs2rzGH4QRfow0ofIsFIQZ RkhrwVk3D9O8geYxOieWkJ9fXMDFqPJ9rAVs3pVUKZdHdf1kDuCzsonToqKbRRlJZgL1rG bmanXtQWocnHzy89APE0UBktqdLaUV0y1cbadsAKEXn4I/cXo09/V9o447dZMg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713324834; a=rsa-sha256; cv=none; b=CAkHE7b88cpBiWDczqlPsHhgZRNlNFxNjAk/4YeZlNrQIGaOxrJAnt8Rk2sxAO2IMzA6wc x8u0J6X4Xb71gfvaDpgdWibMT5RlAwJOkeUuE/q8/52+963x44zc9K/UbWyE5Gzo9VNRzF M/EfJLJ9zu7q74FcBDWxVF9RXOlKr1g5jflKEz4i+sdiYEDymtWQx6rDJ58yhw9BQia0i/ qseC1FyuDLbGGenJMn9PT+oMfvCxQ0Y3JkMce0aB9PzUjcb+miR7KRgD10QvtcIG20KB/X nkwp8jd00Jmo6LLTCePGHHbbyAFbkaKzV4Om8IWg9nVX4uraXQsr3cp+JFjuTw== 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=1713324834; 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=3rMyp1wFwL/HckVwpzUvMSp/5Zr5IcsGxXzSgogGnu8=; b=BtoAqW8+y8nzXkkG+fV7uKJ++yon07+xl/clQaNMQnkOEKTKPa0o9F3Xb+U6RwTPKnJT1i m1nIFTKB4FdLnhSnxR1Ya6+jjAXFaKZD0jNW1uMlV+MAT0GvfIvYnZLJYisL4nU7JaHBkb BTEAHrTS5uirx1oUZ0bxYi8gJIaE8HoR7O/T57lV+ivgL72c8vY9wLKf9TxlgeO8GOeKU3 boRjCFiS82QP6LNSlD/kIfq5pJFqamDJ/bxZoy93LH4iiRCESd72z2Sfw64sioIZXvYApa pFl9apD0pszNnDM/xeVRN+WkLNCxxY+uqp0paEN7y+iVypWSEuDzE+uiK0TZAw== 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 4VK62V3z5lz19Sq; Wed, 17 Apr 2024 03:33:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43H3XsdS087267; Wed, 17 Apr 2024 03:33:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43H3XsX7087264; Wed, 17 Apr 2024 03:33:54 GMT (envelope-from git) Date: Wed, 17 Apr 2024 03:33:54 GMT Message-Id: <202404170333.43H3XsX7087264@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: e39873820da7 - main - nvmecontrol: add newlines where needed for ns command printfs List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org 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: e39873820da7ddfddb59823efc3421125b92c17a Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=e39873820da7ddfddb59823efc3421125b92c17a commit e39873820da7ddfddb59823efc3421125b92c17a Author: Warner Losh AuthorDate: 2024-04-16 22:36:54 +0000 Commit: Warner Losh CommitDate: 2024-04-17 03:30:19 +0000 nvmecontrol: add newlines where needed for ns command printfs Sponsored by: Netflix Reviewed by: chuck, jhb Differential Revision: https://reviews.freebsd.org/D44681 --- 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 1f1cd6101e35..5e2a50df4ba1 100644 --- a/sbin/nvmecontrol/ns.c +++ b/sbin/nvmecontrol/ns.c @@ -646,7 +646,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) @@ -712,7 +712,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) @@ -782,7 +782,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) @@ -859,7 +859,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) @@ -912,7 +912,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)