aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-03-03 20:23:01 +0000
committerWarner Losh <imp@FreeBSD.org>2017-03-03 20:23:01 +0000
commit902af7c6f51bf36e6312743a6ff491dc538619b0 (patch)
treed8b3a89d29972a5ad397e6dfd49bc696f77c838f /usr.sbin
parent80967c8e1c64f16ef3b2d9d3457743d4ef50b38d (diff)
downloadsrc-902af7c6f51bf36e6312743a6ff491dc538619b0.tar.gz
src-902af7c6f51bf36e6312743a6ff491dc538619b0.zip
Print just the variables when we're not printing the values.
Sponsored by: Netflix
Notes
Notes: svn path=/head/; revision=314617
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/efivar/efivar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/efivar/efivar.c b/usr.sbin/efivar/efivar.c
index 7801b926978d..a0f8165675d9 100644
--- a/usr.sbin/efivar/efivar.c
+++ b/usr.sbin/efivar/efivar.c
@@ -219,6 +219,8 @@ print_var(efi_guid_t *guid, char *name)
bindump(data, datalen);
else
hexdump(data, datalen);
+ } else {
+ printf("%s-%s", gname, name);
}
free(gname);
if (!Nflag)