summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-08 10:11:58 +0000
committerRoland McGrath <roland@gnu.org>2002-05-08 10:11:58 +0000
commitb76c10ed0bc068350c05d0c15b0eb9d93d549225 (patch)
treec7abfefc66db3e15e265592bf3457ffa029c8fcd
parentf38103ab4f6453e3de05156371992d6471e97089 (diff)
2002-05-08 Roland McGrath <roland@frob.com>
* storage-info.c (netfs_file_get_storage_info): Cast %* arg to int.
-rw-r--r--nfs/storage-info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nfs/storage-info.c b/nfs/storage-info.c
index eb6a7db7..7427b3d8 100644
--- a/nfs/storage-info.c
+++ b/nfs/storage-info.c
@@ -42,7 +42,8 @@ netfs_file_get_storage_info (struct iouser *cred,
return snprintf (*data, buflen,
"nfsv%u://%s:%u/%n%*c?rsize=%u&wsize=%u",
protocol_version, mounted_hostname, mounted_nfs_port,
- &fhpos, np->nn->handle.size * 2, 'X', /* filled below */
+ &fhpos, (int) (np->nn->handle.size * 2),
+ 'X', /* filled below */
read_size, write_size);
}