In the following line of code:
bootrec_reset(File(path, size, off), blksize);
Calling a function with prototype:
static void b
Alternatively, simply overload.
static void bootrec_reset(File &&file, ssize_t blksize) { return bootrec_reset(file, blksize); }
This is the easiest solution.