svn commit: r348168 - head/usr.bin/posixshmcontrol
Konstantin Belousov
kib at FreeBSD.org
Thu May 23 15:00:16 UTC 2019
Author: kib
Date: Thu May 23 15:00:15 2019
New Revision: 348168
URL: https://svnweb.freebsd.org/changeset/base/348168
Log:
Use int for the getopt() result.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Modified:
head/usr.bin/posixshmcontrol/posixshmcontrol.c
Modified: head/usr.bin/posixshmcontrol/posixshmcontrol.c
==============================================================================
--- head/usr.bin/posixshmcontrol/posixshmcontrol.c Thu May 23 14:33:01 2019 (r348167)
+++ head/usr.bin/posixshmcontrol/posixshmcontrol.c Thu May 23 15:00:15 2019 (r348168)
@@ -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;
More information about the svn-src-all
mailing list