The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=e39873820da7ddfddb59823efc3421125b92c17a

commit e39873820da7ddfddb59823efc3421125b92c17a
Author:     Warner Losh <[email protected]>
AuthorDate: 2024-04-16 22:36:54 +0000
Commit:     Warner Losh <[email protected]>
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)

Reply via email to