diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-09-07 08:12:24 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-09-07 08:12:24 +0100 |
| commit | 123639e3db0757fb3370516f7eaf50cbfae4d026 (patch) | |
| tree | 2fefd5b712f2935949bd447038cfb867f49f6342 /util/libreboot-utils/lib/usage.c | |
| parent | 01cb422c9771c7daa00c6f832c3294d59802a635 (diff) | |
delete util/libreboot-utils (unused code)
this was an intense audit of nvmutil that somehow evolved
into writing a new, hardened implementation of mktemp.
it all works, a few memory bugs to solve on bsd, but i don't
see the point in keeping it. mktemp is fine, and nvmutil
already works.
lbutils implemented atomic writes and integrity checking,
in a manner completely overengineered for what it was
actually doing (modifying a few bytes in 8KB GbE files)
just delete it. i'll bring it back if i ever finish the
code. i don't want to leave dead/unfinished code in the tree.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/lib/usage.c')
| -rw-r--r-- | util/libreboot-utils/lib/usage.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/util/libreboot-utils/lib/usage.c b/util/libreboot-utils/lib/usage.c deleted file mode 100644 index 4ade2f9e..00000000 --- a/util/libreboot-utils/lib/usage.c +++ /dev/null @@ -1,30 +0,0 @@ -/* SPDX-License-Identifier: MIT - * Copyright (c) 2023 Riku Viitanen <riku.viitanen@protonmail.com> - * Copyright (c) 2026 Leah Rowe <leah@libreboot.org> - */ - -#include <errno.h> -#include <stdio.h> - -#include "../include/common.h" - -void -usage(void) -{ - const char *util = lbgetprogname(); - - fprintf(stderr, - "Modify Intel GbE NVM images e.g. set MAC\n" - "USAGE:\n" - "\t%s FILE dump\n" - "\t%s FILE setmac [MAC]\n" - "\t%s FILE swap\n" - "\t%s FILE copy 0|1\n" - "\t%s FILE cat\n" - "\t%s FILE cat16\n" - "\t%s FILE cat128\n", - util, util, util, util, - util, util, util); - - exitf("Too few arguments"); -} |
