asaudit: missing \n in print
This commit is contained in:
parent
e14690517e
commit
0406d9828a
1 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ ndb(void)
|
||||||
{
|
{
|
||||||
db = ndbopen(nil);
|
db = ndbopen(nil);
|
||||||
if(db == nil){
|
if(db == nil){
|
||||||
print("ndbopen: %r");
|
print("ndbopen: %r\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -79,12 +79,12 @@ keyfs(void)
|
||||||
buf = smprint("/mnt/keys/%s/aeskey", nvr.authid);
|
buf = smprint("/mnt/keys/%s/aeskey", nvr.authid);
|
||||||
fd = open(buf, OREAD);
|
fd = open(buf, OREAD);
|
||||||
if(fd < 0){
|
if(fd < 0){
|
||||||
print("can't get key from keyfs: %r");
|
print("can't get key from keyfs: %r\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
werrstr("short read");
|
werrstr("short read");
|
||||||
if(read(fd, aes, sizeof(aes)) < sizeof(aes)){
|
if(read(fd, aes, sizeof(aes)) < sizeof(aes)){
|
||||||
print("read: %r");
|
print("read: %r\n");
|
||||||
close(fd);
|
close(fd);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue