Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2017 20:23:01 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r314617 - head/usr.sbin/efivar
Message-ID:  <201703032023.v23KN1Ms063137@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Mar  3 20:23:01 2017
New Revision: 314617
URL: https://svnweb.freebsd.org/changeset/base/314617

Log:
  Print just the variables when we're not printing the values.
  
  Sponsored by: Netflix

Modified:
  head/usr.sbin/efivar/efivar.c

Modified: head/usr.sbin/efivar/efivar.c
==============================================================================
--- head/usr.sbin/efivar/efivar.c	Fri Mar  3 20:22:56 2017	(r314616)
+++ head/usr.sbin/efivar/efivar.c	Fri Mar  3 20:23:01 2017	(r314617)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703032023.v23KN1Ms063137>