From: Simon Wilkinson Date: Sun, 1 Apr 2012 19:40:24 +0000 (-0400) Subject: rxperf: Build again X-Git-Tag: openafs-stable-1_8_0pre1~2571 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=e4430d9d487b1b93717886eeb2621bbe50899838 rxperf: Build again Fix rxperf so that it builds again Change-Id: I9747bc1b3fedb96d5bc317acde69f35b1dc6efb8 Reviewed-on: http://gerrit.openafs.org/7011 Reviewed-by: Derrick Brashear Tested-by: BuildBot Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman --- diff --git a/src/rx/test/Makefile.in b/src/rx/test/Makefile.in index fc76df2..826608d 100644 --- a/src/rx/test/Makefile.in +++ b/src/rx/test/Makefile.in @@ -22,14 +22,14 @@ BASICINCLS = ../rx_clock.h ../rx_queue.h ../rx_event.h LINK = $(AFS_LDRULE) $@.o ${LIBS} MT_LINK = $(CC) $(MT_CFLAGS) $(COMMON_CFLAGS) $(AFS_LDFLAGS) -o $@ \ - $@.o $(TOP_LIBDIR)/libafsrpc.a $(LIB_hcrypto) $(LIB_roken) \ + $@.o $(TOP_LIBDIR)/libafsrpc.a $(TOP_LIBDIR)/libopr.a \ + $(LIB_hcrypto) $(LIB_roken) \ $(MT_LIBS) $(XLIBS) TESTS = testclient testserver kstest kctest testqueue tableGen generator TH_TESTS = th_testserver th_testclient -.IGNORE: all: test @@ -67,7 +67,7 @@ th_testserver.o: testserver.c $(MT_CC) $(COMMON_CFLAGS) $(MT_CFLAGS) -c -o th_testserver.o \ ${srcdir}/testserver.c -th_rxperf: th_rxperf.o ${TOP_LIBDIR}/libafsrpc.a +th_rxperf: th_rxperf.o ${TOP_LIBDIR}/libafsrpc.a ${TOP_LIBDIR}/libopr.a $(MT_LINK) th_rxperf.o: rxperf.c diff --git a/src/rx/test/rxperf.c b/src/rx/test/rxperf.c index 3a71ca1..f37ff9a 100644 --- a/src/rx/test/rxperf.c +++ b/src/rx/test/rxperf.c @@ -967,7 +967,7 @@ rxperf_server(int argc, char **argv) if (ptr != 0 && ptr[0] != '\0') errx(1, "can't resolve readsize"); if (rxread_size > sizeof(somebuf)) - errx(1, "%d > sizeof(somebuf) (%d)", rxread_size, + errx(1, "%d > sizeof(somebuf) (%"AFS_SIZET_FMT")", rxread_size, sizeof(somebuf)); break; case 's': @@ -995,7 +995,7 @@ rxperf_server(int argc, char **argv) if (ptr != 0 && ptr[0] != '\0') errx(1, "can't resolve writesize"); if (rxwrite_size > sizeof(somebuf)) - errx(1, "%d > sizeof(somebuf) (%d)", rxwrite_size, + errx(1, "%d > sizeof(somebuf) (%"AFS_SIZET_FMT")", rxwrite_size, sizeof(somebuf)); break; case 'j': @@ -1114,7 +1114,7 @@ rxperf_client(int argc, char **argv) if (ptr != 0 && ptr[0] != '\0') errx(1, "can't resolve readsize"); if (rxread_size > sizeof(somebuf)) - errx(1, "%d > sizeof(somebuf) (%d)", rxread_size, + errx(1, "%d > sizeof(somebuf) (%"AFS_SIZET_FMT")", rxread_size, sizeof(somebuf)); break; case 's': @@ -1130,7 +1130,7 @@ rxperf_client(int argc, char **argv) if (ptr != 0 && ptr[0] != '\0') errx(1, "can't resolve writesize"); if (rxwrite_size > sizeof(somebuf)) - errx(1, "%d > sizeof(somebuf) (%d)", rxwrite_size, + errx(1, "%d > sizeof(somebuf) (%"AFS_SIZET_FMT")", rxwrite_size, sizeof(somebuf)); break; case 'W':