shithub: riscv

ref: da085a2d4cca788686b8f68b2555040cf29dc16c
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);
}