summaryrefslogtreecommitdiff
path: root/src/host.c
diff options
context:
space:
mode:
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 716a823..8d35c5b 100644
--- a/src/host.c
+++ b/src/host.c
@@ -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);