viced: time_t might not be long
authorGarrett Wollman <wollman@csail.mit.edu>
Wed, 13 Aug 2014 06:32:06 +0000 (02:32 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Wed, 13 Aug 2014 15:18:59 +0000 (11:18 -0400)
commit9dd67783bb2bd9ef8a972a1aac47b1925069a655
tree7a0c9be31982e888075d4f9e2d8925db3ac72dc1
parentf02beb8d644ec2a52bf21737a040321905a39e20
viced: time_t might not be long

Fix a couple of printf format errors that bite on FreeBSD 10 for i386.
Since time_t might be an int, it can't be printed with a long format.
Since time_t might be a long in general, cast to it to long when
printing.

Change-Id: Iecc4487adee7a64542dd2dc17f94485a6198e707
Reviewed-on: http://gerrit.openafs.org/11385
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/viced/callback.c
src/viced/fsprobe.c