fixed typo in previous check-in

This commit is contained in:
Arvid Norberg 2011-07-03 20:39:24 +00:00
parent 0068f48646
commit da0560f129
1 changed files with 1 additions and 1 deletions

View File

@ -3076,7 +3076,7 @@ namespace aux {
char buffer[4096];
char string[1024];
boost::uint32_t value;
FILE* f = fopen("/proc/vmstat");
FILE* f = fopen("/proc/vmstat", "r");
int ret = 0;
while ((ret = fscanf(f, "%s %u\n", string, &value)) != EOF)
{