shithub: riscv

ref: 479a31ae8f4a361b101aa203aa1c0822137708d7
dir: /sys/src/cmd/auth/wrkey.c/

View raw version
#include <u.h>
#include <libc.h>
#include <authsrv.h>

void
main(void)
{
	Nvrsafe safe;

	if(readnvram(&safe, NVwrite) < 0)
		sysfatal("error writing nvram: %r");
	exits(0);
}