Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2023 04:04:29 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 731f91c0770b - main - efibootmgr: -C isn't implemented
Message-ID:  <202310270404.39R44TQx040690@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

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

commit 731f91c0770be0d6666f483449878b60e5319924
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-05-17 16:47:50 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-10-27 04:01:16 +0000

    efibootmgr: -C isn't implemented
    
    -C isn't implemented, so just errx out until it is. It's not listed in
    the man page, but is parsed for compatibility with the Linux
    efibootmgr(8) command.
    
    Sponsored by:           Netflix
---
 usr.sbin/efibootmgr/efibootmgr.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/usr.sbin/efibootmgr/efibootmgr.c b/usr.sbin/efibootmgr/efibootmgr.c
index ce7265857391..65ab247fb271 100644
--- a/usr.sbin/efibootmgr/efibootmgr.c
+++ b/usr.sbin/efibootmgr/efibootmgr.c
@@ -226,6 +226,8 @@ parse_args(int argc, char *argv[])
 		case 'C':
 			opts.copy = true;
 			opts.cp_src = strtoul(optarg, NULL, 16);
+			errx(1, "Copy not implemented");
+			break;
 		case 'c':
 			opts.create = true;
 			break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310270404.39R44TQx040690>