From: Jens Axboe Date: Sat, 1 Oct 2011 04:58:13 +0000 (-0600) Subject: server: serial is a 64-bit field X-Git-Tag: fio-1.99~77 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=bdab4441a476b8597001026445707daa1109aec2 server: serial is a 64-bit field Signed-off-by: Jens Axboe --- diff --git a/server.c b/server.c index 44f5fa01..fe93ffbe 100644 --- a/server.c +++ b/server.c @@ -162,7 +162,7 @@ static int send_simple_command(int sk, uint16_t opcode, uint64_t serial) struct fio_net_cmd cmd = { .version = cpu_to_le16(FIO_SERVER_VER1), .opcode = cpu_to_le16(opcode), - .serial = cpu_to_le16(serial), + .serial = cpu_to_le64(serial), }; fio_net_cmd_crc(&cmd);