diff options
Diffstat (limited to 'src/host.c')
-rw-r--r-- | src/host.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -27,7 +27,8 @@ void run_command(const char *command) { } void display_host_model() { -#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__minix) +#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || \ + defined(__DragonFly__) || defined(__minix) run_command("sysctl -n hw.vendor hw.product"); #elif defined(__sun) run_command("prtconf -b | awk -F':' '/banner-name/ {printf $2}'"); |