From: Marc Dionne Date: Sat, 2 Apr 2011 12:40:15 +0000 (-0400) Subject: fsprobe: call RXAFS_GetTime directly X-Git-Tag: upstream/1.6.1.pre1^2~52 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=538e6bdab3e1f70f612a96beaf89db0b3cc86938;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. Reviewed-on: http://gerrit.openafs.org/4397 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit ef105dcc4932da804750dea0c922d5814fc5bf15) Change-Id: If4e430a55d36725f2cf8e5bf04a036062480cfac Reviewed-on: http://gerrit.openafs.org/6279 Tested-by: Derrick Brashear 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);