소스 검색

fixed run_command()

Aaron Marcher 9 년 전
부모
커밋
887b9bd3e3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      slstatus.c

+ 1 - 1
slstatus.c

@@ -407,7 +407,7 @@ static char *
 run_command(const char* command)
 {
 	FILE *fp = popen(command, "r");
-	char buffer[64] = '\0';
+	char buffer[64] = "\0";
 
 	if (fp == NULL) {
 		warn("Could not get command output for: %s", command);