diff options
author | 諏訪子 <suwako@076.moe> | 2024-06-22 05:09:08 +0900 |
---|---|---|
committer | 諏訪子 <suwako@076.moe> | 2024-06-22 05:09:08 +0900 |
commit | 87512412cc7c938f48eac8c7d6e72f9834299569 (patch) | |
tree | 6b044e828f715bd363fffe66914c2511110730a2 /src/host.c | |
parent | 8e09e19b21140193cf27de835cdad87710fd2c85 (diff) |
SunOS: CPUとホスト名の表示の修正
Diffstat (limited to 'src/host.c')
-rw-r--r-- | src/host.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -95,7 +95,7 @@ void display_host_model() { free((void *)cmd); #elif defined(__sun) const char *cmd = run_host_command("smbios | grep \"Product\" | " - "sed 's/ Product: //' | head -1"); + "sed 's/ Product: //' | awk '{$1=$1};1' | head -1"); if (!cmd) return; printf("%s", cmd); free((void *)cmd); |