cputnik: remove an annoying debug printf()
This commit is contained in:
parent
b0aaf3cc3e
commit
75d4c8f45c
|
@ -50,7 +50,7 @@ char temp[BUFFER_SIZE];
|
||||||
fscanf(fp_memory, "%lld", &m_cached);
|
fscanf(fp_memory, "%lld", &m_cached);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("m_total: %ld, m_free: %ld, m_cached: %ld\n", m_total, m_free, m_cached);
|
// printf("m_total: %ld, m_free: %ld, m_cached: %ld\n", m_total, m_free, m_cached);
|
||||||
|
|
||||||
*free = (int)(((float)(m_total - m_free - m_cached) / m_total) * 100.0);
|
*free = (int)(((float)(m_total - m_free - m_cached) / m_total) * 100.0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue