From e8b7158d34bda940b31fca56c2c97b586d6ee937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Wed, 19 Jun 2024 19:57:33 +0900 Subject: =?UTF-8?q?Linux:=20=E3=83=87=E3=82=A3=E3=82=B9=E3=83=88=E3=83=AD?= =?UTF-8?q?=E3=81=AE=E3=83=AD=E3=82=B4=E3=81=AE=E8=A1=A8=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 11d5f9f..b6e7531 100644 --- a/main.c +++ b/main.c @@ -35,6 +35,7 @@ int main(int argc, char *argv[]) { #include "src/logo/freebsd.h" getOS(); #elif defined(__linux__) + get_distro(); #include "src/logo/linux.h" getDistro(distroname); #else @@ -102,9 +103,8 @@ int main(int argc, char *argv[]) { #if defined(__linux__) printf("%s ", LOGO[lc]); - printf(COLOR"%s%s"RESET, "Distro", ": "); - display_distro(); - printf("\n"); + printf("%s%s%s"RESET, color, "Distro", ": "); + printf("%s\n", display_distro()); lc++; #endif -- cgit v1.2.3