summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
author諏訪子 <suwako@076.moe>2024-06-18 16:42:23 +0900
committer諏訪子 <suwako@076.moe>2024-06-18 16:42:23 +0900
commit656923fefbcef9e4071a477194e5706171ee5c18 (patch)
tree0bdcdcf56762fb9b85432a409ca18d97d87e8c75 /main.c
parent564e48b6fb6b53c7420849cf79c7c73f7788ed6c (diff)
NetBSD: 起動時間の修正
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 1d49c5e..48cb356 100644
--- a/main.c
+++ b/main.c
@@ -72,8 +72,10 @@ int main() {
printf("%s ", LOGO[4]);
printf(COLOR"%s%s"RESET, "Uptime", ": ");
+#ifndef __NetBSD__
display_days();
printf(", ");
+#endif
display_time();
printf("\n");