From: Stephen M. Cameron Date: Fri, 24 Feb 2012 07:17:31 +0000 (+0100) Subject: fio: factor out FIO_NET_PORT X-Git-Tag: gfio-0.1~303 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=5adc2447a8d52322981da4cd364a560bbd9d8351;ds=inline fio: factor out FIO_NET_PORT Signed-off-by: Stephen M. Cameron Signed-off-by: Jens Axboe --- diff --git a/server.c b/server.c index 84b106e8..2e8682c9 100644 --- a/server.c +++ b/server.c @@ -24,7 +24,7 @@ #include "fio_version.h" -int fio_net_port = 8765; +int fio_net_port = FIO_NET_PORT; int exit_backend = 0; diff --git a/server.h b/server.h index f8507731..2be61733 100644 --- a/server.h +++ b/server.h @@ -10,6 +10,8 @@ #include "os/os.h" #include "diskutil.h" +#define FIO_NET_PORT 8765 + /* * On-wire encoding is little endian */