소스 검색

uptime: Add missing brace

master
Aaron Marcher 6 년 전
부모
커밋
54ebd0dabe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      components/uptime.c

+ 1
- 1
components/uptime.c 파일 보기

@@ -49,7 +49,7 @@ format(int uptime)

size = sizeof(boottime);

if (sysctl(mib, 2, &boottime, &size, NULL, 0) == -1)
if (sysctl(mib, 2, &boottime, &size, NULL, 0) == -1) {
fprintf(stderr, "sysctl 'KERN_BOOTTIME': %s\n", strerror(errno));
return NULL;
}


불러오는 중...
취소
저장