diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-18 03:53:05 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-18 03:53:05 +0000 |
| commit | 0fd38589530d9d163c3635ec88f47015b309d6c9 (patch) | |
| tree | 486b8c342e3bf6452ffe07284a36bf656f58b216 /util/nvmutil/nvmutil.h | |
| parent | 982c1146b3ab278fe6c80023d33e623018b8ff0e (diff) | |
util/nvmutil: obsessively check null cmd
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/nvmutil.h')
| -rw-r--r-- | util/nvmutil/nvmutil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/nvmutil/nvmutil.h b/util/nvmutil/nvmutil.h index ce38772c..ba9c39c9 100644 --- a/util/nvmutil/nvmutil.h +++ b/util/nvmutil/nvmutil.h @@ -430,6 +430,7 @@ off_t gbe_x_offset(unsigned long part, const char *f_op, const char *d_type, off_t nsize, off_t ncmp); long rw_gbe_file_exact(int fd, unsigned char *mem, unsigned long nrw, off_t off, int rw_type); +void check_null_command(const char *c); long rw_file_exact(int fd, unsigned char *mem, unsigned long len, off_t off, int rw_type, int loop_eagain, int loop_eintr, unsigned long max_retries, int off_reset); |
