diff options
author | Warner Losh <imp@FreeBSD.org> | 2017-03-03 20:23:01 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2017-03-03 20:23:01 +0000 |
commit | 902af7c6f51bf36e6312743a6ff491dc538619b0 (patch) | |
tree | d8b3a89d29972a5ad397e6dfd49bc696f77c838f | |
parent | 80967c8e1c64f16ef3b2d9d3457743d4ef50b38d (diff) | |
download | src-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
-rw-r--r-- | usr.sbin/efivar/efivar.c | 2 |
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) |