summaryrefslogtreecommitdiff
path: root/src/distro.c
diff options
context:
space:
mode:
author諏訪子 <suwako@076.moe>2024-06-18 15:25:34 +0900
committer諏訪子 <suwako@076.moe>2024-06-18 15:25:34 +0900
commit0a0916ccebae20e7ee6feafa417cfebd8256ef04 (patch)
tree597c44e2fa4761dbf01039e222408e185aea2483 /src/distro.c
parentcfc9d105e6b808922a5dc8c357225a9fba1236e2 (diff)
ロゴ
Diffstat (limited to 'src/distro.c')
-rw-r--r--src/distro.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/distro.c b/src/distro.c
index 8830e7c..75bf0a4 100644
--- a/src/distro.c
+++ b/src/distro.c
@@ -49,6 +49,7 @@ void display_distro() {
while (fgets(buf, sizeof(buf), p) != NULL) {
buf[strcspn(buf, "\n")] = '\0';
printf("%s", buf);
+ distroname = buf;
}
pclose(p);