shithub: riscv

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