mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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)
This commit is contained in:
parent
1dac152478
commit
37109ba0ec
1 changed files with 5 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue