1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add a missing #include, and fix a type.

This commit is contained in:
Jason Evans 2006-02-23 05:50:45 +00:00
parent 494f29a6cb
commit 4ab88cae65
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156737

View File

@ -36,6 +36,7 @@
****************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <errno.h>
@ -48,7 +49,8 @@ main(int argc, char **argv)
{
char *buf;
char path[MAXPATH] = "/proc/";
int mfd, bytes, size = MINBUF;
int mfd, bytes;
size_t size = MINBUF;
if (argc != 2) {
fprintf(stderr, "usage: procmap {<pid> | curproc}\n");