forked from premiere/premiere-libtorrent
fixed typo in previous check-in
This commit is contained in:
parent
0068f48646
commit
da0560f129
|
@ -3076,7 +3076,7 @@ namespace aux {
|
||||||
char buffer[4096];
|
char buffer[4096];
|
||||||
char string[1024];
|
char string[1024];
|
||||||
boost::uint32_t value;
|
boost::uint32_t value;
|
||||||
FILE* f = fopen("/proc/vmstat");
|
FILE* f = fopen("/proc/vmstat", "r");
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
while ((ret = fscanf(f, "%s %u\n", string, &value)) != EOF)
|
while ((ret = fscanf(f, "%s %u\n", string, &value)) != EOF)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue