[RFC v2 03/16] fs/nfs.c: use uint16_t for port numbers

Antony Pavlov antonynpavlov at gmail.com
Sun Jul 19 13:07:10 PDT 2015


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 fs/nfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/nfs.c b/fs/nfs.c
index 5bff54a..0269814 100644
--- a/fs/nfs.c
+++ b/fs/nfs.c
@@ -132,8 +132,8 @@ struct nfs_priv {
 	struct net_connection *con;
 	IPaddr_t server;
 	char *path;
-	unsigned short mount_port;
-	unsigned short nfs_port;
+	uint16_t mount_port;
+	uint16_t nfs_port;
 	uint32_t rpc_id;
 	uint32_t rootfh_len;
 	char rootfh[NFS3_FHSIZE];
-- 
2.1.4




More information about the barebox mailing list