mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-21 18:50:50 +01:00
bsdlabel: emit deprecation notice when run
Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Reision: https://reviews.freebsd.org/D43586
This commit is contained in:
parent
b6f3cced15
commit
3661658c76
@ -135,6 +135,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 New Issue
Block a user