From: Marc Dionne Date: Sat, 2 Apr 2011 12:40:15 +0000 (-0400) Subject: fsprobe: call RXAFS_GetTime directly X-Git-Tag: upstream/1.8.0_pre1^2~3935 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ef105dcc4932da804750dea0c922d5814fc5bf15;p=packages%2Fo%2Fopenafs.git fsprobe: call RXAFS_GetTime directly Call RXAFS_GetTime directly instead of using ubik_Call which is not prototyped and has logic that we don't need/want here since we're targeting a specific server. Change-Id: Ia71d1cb164d3fe71f01c88fc720837c69566baf5 Reviewed-on: http://gerrit.openafs.org/4397 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/viced/fsprobe.c b/src/viced/fsprobe.c index 186779191..c55036dab 100644 --- a/src/viced/fsprobe.c +++ b/src/viced/fsprobe.c @@ -95,7 +95,7 @@ main(int argc, char **argv) exit(1); } - code = ubik_Call(RXAFS_GetTime, cstruct, 0, &tv.tv_sec, &tv.tv_usec); + code = RXAFS_GetTime(cstruct->conns[0], (afs_uint32 *)&tv.tv_sec, (afs_uint32 *)&tv.tv_usec); if (!code) printf("AFS_GetTime on %s sec=%ld, usec=%ld\n", av[0], tv.tv_sec, (long int)tv.tv_usec);