From 75d4c8f45c4d7803985696cbf9ba1609c210cb7e Mon Sep 17 00:00:00 2001 From: snow Date: Fri, 14 Aug 2020 14:36:59 -0700 Subject: [PATCH] cputnik: remove an annoying debug printf() --- cputnik/src/cputnik.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cputnik/src/cputnik.c b/cputnik/src/cputnik.c index 70d79b7..cd0a6e0 100644 --- a/cputnik/src/cputnik.c +++ b/cputnik/src/cputnik.c @@ -50,7 +50,7 @@ char temp[BUFFER_SIZE]; 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); }