asaudit: missing \n in print

This commit is contained in:
aiju 2017-02-24 01:08:08 +01:00
parent e14690517e
commit 0406d9828a

View file

@ -27,7 +27,7 @@ ndb(void)
{
db = ndbopen(nil);
if(db == nil){
print("ndbopen: %r");
print("ndbopen: %r\n");
return;
}
}
@ -79,12 +79,12 @@ keyfs(void)
buf = smprint("/mnt/keys/%s/aeskey", nvr.authid);
fd = open(buf, OREAD);
if(fd < 0){
print("can't get key from keyfs: %r");
print("can't get key from keyfs: %r\n");
return;
}
werrstr("short read");
if(read(fd, aes, sizeof(aes)) < sizeof(aes)){
print("read: %r");
print("read: %r\n");
close(fd);
return;
}