summaryrefslogtreecommitdiff
path: root/src/host.c
diff options
context:
space:
mode:
author諏訪子 <suwako@076.moe>2024-06-20 14:58:37 +0900
committer諏訪子 <suwako@076.moe>2024-06-20 14:58:37 +0900
commitc422e00ebe2d308f08309aaff153d3d780322544 (patch)
tree149903ce6369703c0ec47db74214aa287b7a1e47 /src/host.c
parent23ec77e8574e39c13b44efd6f43e7804ce2aa9ed (diff)
Illumos: コンパイルの問題の解決
Diffstat (limited to 'src/host.c')
-rw-r--r--src/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host.c b/src/host.c
index 8996908..d88b03e 100644
--- a/src/host.c
+++ b/src/host.c
@@ -98,7 +98,7 @@ void display_host_model() {
"awk -F':' '/banner-name/ {printf $2}'");
if (!cmd) return;
printf("%s", cmd);
- free((void *)cm(void *)cmd);
+ free((void *)cmd);
#elif defined(__linux__)
const char *cmd1 = NULL;
const char *cmd2 = NULL;