shithub: riscv

Download patch

ref: ef3af6eaa3da78c330596a88779469337eebc49d
parent: 541e211b7c964b7c02dead4e8c61d2add10bc94f
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Aug 8 15:02:42 EDT 2017

sysinfo: run aux/icanhasvmx with verbose flag

--- a/rc/bin/sysinfo
+++ b/rc/bin/sysinfo
@@ -21,7 +21,7 @@
 	logprog pci -v
 	logprog aux/cpuid
 	logprog aux/icanhasmsi
-	logprog aux/icanhasvmx
+	logprog aux/icanhasvmx -v
 	logprog aux/pcmcia
 	logprog cat '#u/usb/ctl'
 	logprog cat '#S/sdctl'
--- a/sys/src/cmd/aux/icanhasvmx.c
+++ b/sys/src/cmd/aux/icanhasvmx.c
@@ -211,7 +211,7 @@
 	} ARGEND;
 	if(argc != 0){
 	usage:
-		fprint(2, "usage: %s [-r]\n", argv0);
+		fprint(2, "usage: %s [-rv]\n", argv0);
 		exits("usage");
 	}