buf[bytes_read] = '\0';
fclose(fp);
if (bytes_read == 0 || bytes_read == sizeof(buf)) {
- warn("Failed to read /proc/meminfo\n");
+ warn("Failed to read from /proc/meminfo");
return smprintf(UNKNOWN_STR);
}
buf[bytes_read] = '\0';
fclose(fp);
if (bytes_read == 0 || bytes_read == sizeof(buf)) {
- warn("Failed to read /proc/meminfo\n");
+ warn("Failed to read from /proc/meminfo");
return smprintf(UNKNOWN_STR);
}
buf[bytes_read] = '\0';
fclose(fp);
if (bytes_read == 0 || bytes_read == sizeof(buf)) {
- warn("Failed to read /proc/meminfo\n");
+ warn("Failed to read from /proc/meminfo");
return smprintf(UNKNOWN_STR);
}
buf[bytes_read] = '\0';
fclose(fp);
if (bytes_read == 0 || bytes_read == sizeof(buf)) {
- warn("Failed to read /proc/meminfo\n");
+ warn("Failed to read from /proc/meminfo");
return smprintf(UNKNOWN_STR);
}