rexec: correct af type from int to sa_family_t

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd 2022-03-24 12:25:03 +08:00 committed by Xiang Xiao
parent c29deef4e5
commit e0da9d1409

View File

@ -22,6 +22,7 @@
* Included Files
****************************************************************************/
#include <sys/types.h>
#include <getopt.h>
#include <netdb.h>
#include <stdio.h>
@ -45,8 +46,8 @@ struct rexec_arg_s
FAR const char *command;
FAR const char *user;
FAR char *host;
sa_family_t af;
int port;
int af;
};
/****************************************************************************