shithub: riscv

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