shithub: riscv

Download patch

ref: 911df94e5d712d7e2eebb4a3997efce17e2599f2
parent: 83de8c0f5f1db32c1f68f8337566fcd1fd171e8f
author: aiju <devnull@localhost>
date: Wed Jul 11 08:23:48 EDT 2018

asaudit: make error more explicit

--- a/sys/src/cmd/auth/asaudit.c
+++ b/sys/src/cmd/auth/asaudit.c
@@ -83,7 +83,7 @@
 	buf = smprint("/mnt/keys/%s/aeskey", nvr.authid);
 	fd = open(buf, OREAD);
 	if(fd < 0){
-		print("can't get key from keyfs: %r\n");
+		print("BAD: can't get key from keyfs: %r\n");
 		return;
 	}
 	werrstr("short read");