kvs: remove debug stuff

This commit is contained in:
kxtzownsu 2024-12-28 14:00:24 -05:00 committed by kxtz smith
parent a0b118bbbb
commit 776ca9ceed

View File

@ -88,14 +88,12 @@ const char* getKernver() {
} }
const char* getFWMPFlags(){ const char* getFWMPFlags(){
// char cmd[] = "tpmc read 0x100A 5 2>/dev/null"; char cmd[] = "tpmc read 0x100A 5 2>/dev/null";
// static char output[256];
// FILE* fp = popen(cmd, "r");
// fgets(output, sizeof(output), fp);
// fclose(fp);
// trim_newline(output);
static char output[256]; static char output[256];
output = ""' FILE* fp = popen(cmd, "r");
fgets(output, sizeof(output), fp);
fclose(fp);
trim_newline(output);
if (strcmp(output, "") == 0) { if (strcmp(output, "") == 0) {