mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
bsdlabel: emit deprecation notice when run
Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Reision: https://reviews.freebsd.org/D43586 (cherry picked from commit 3661658c76ce028a6dcdd54b00a822159a3ae6f3)
This commit is contained in:
parent
7e3c7de28d
commit
ea3b15d005
1 changed files with 4 additions and 0 deletions
|
|
@ -148,6 +148,10 @@ main(int argc, char *argv[])
|
|||
error = 0;
|
||||
name = NULL;
|
||||
|
||||
fprintf(stderr,
|
||||
"WARNING: bsdlabel is deprecated and is not available in FreeBSD 15 or later.\n"
|
||||
"Please use gpart instead.\n\n");
|
||||
|
||||
while ((ch = getopt(argc, argv, "ABb:efm:nRrw")) != -1)
|
||||
switch (ch) {
|
||||
case 'A':
|
||||
|
|
|
|||
Loading…
Reference in a new issue