Use int for the getopt() result.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2019-05-23 15:00:15 +00:00
parent 5f4592e46f
commit 537aac3c09
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348168

View file

@ -160,10 +160,10 @@ shm_decode_mode(mode_t m, char *str)
static int
list_shm(int argc, char **argv)
{
char *buf, *bp, sizebuf[8], str[10], c;
char *buf, *bp, sizebuf[8], str[10];
const struct kinfo_file *kif;
struct stat st;
int error, fd, mib[3], ret;
int c, error, fd, mib[3], ret;
size_t len, miblen;
bool hsize, uname;