Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2020-04-09 16:01:45 +01:00
16 changed files with 45 additions and 50 deletions

View File

@ -646,7 +646,7 @@ client_read_open(void *data, size_t datalen)
struct msg_read_done reply;
struct client_file find, *cf;
const int flags = O_NONBLOCK|O_RDONLY;
int error = 0;
int error;
if (datalen < sizeof *msg)
fatalx("bad MSG_READ_OPEN size");