diff options
author | stefanf <stefanf@FreeBSD.org> | 2004-07-26 15:04:57 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2004-07-26 15:04:57 +0000 |
commit | 4cf0522899584cb012761c4ba10b1f8cbc04d8b9 (patch) | |
tree | 88eafd08efcb184f47df78eadd39feafb4453577 /sbin/ffsinfo | |
parent | a63ad31e7f8f6b7913f402d253119edd7682c06d (diff) | |
download | FreeBSD-src-4cf0522899584cb012761c4ba10b1f8cbc04d8b9.zip FreeBSD-src-4cf0522899584cb012761c4ba10b1f8cbc04d8b9.tar.gz |
Assign the result of getopt() to an int rather than to a char (which is
possibly unsigned).
Diffstat (limited to 'sbin/ffsinfo')
-rw-r--r-- | sbin/ffsinfo/ffsinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ffsinfo/ffsinfo.c b/sbin/ffsinfo/ffsinfo.c index c5595ac..3e3a8c2 100644 --- a/sbin/ffsinfo/ffsinfo.c +++ b/sbin/ffsinfo/ffsinfo.c @@ -123,7 +123,7 @@ main(int argc, char **argv) { DBG_FUNC("main") char *device, *special; - char ch; + int ch; size_t len; struct stat st; struct csum *dbg_csp; |