socsvn commit: r270176 - soc2013/def/crashdump-head/sbin/dumpkey
def at FreeBSD.org
def at FreeBSD.org
Sat Jun 28 11:50:24 UTC 2014
Author: def
Date: Sat Jun 28 11:50:23 2014
New Revision: 270176
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=270176
Log:
Style.
Modified:
soc2013/def/crashdump-head/sbin/dumpkey/dumpkey.c
Modified: soc2013/def/crashdump-head/sbin/dumpkey/dumpkey.c
==============================================================================
--- soc2013/def/crashdump-head/sbin/dumpkey/dumpkey.c Sat Jun 28 11:44:58 2014 (r270175)
+++ soc2013/def/crashdump-head/sbin/dumpkey/dumpkey.c Sat Jun 28 11:50:23 2014 (r270176)
@@ -45,6 +45,7 @@
static int
random_data(char *buf, size_t size)
{
+
return (read_data(buf, size, PATH_DEVRANDOM));
}
@@ -109,6 +110,7 @@
static int
sysctl_dumpkey(struct kerneldumpkey *key)
{
+
return (sysctlbyname("kern.dumpkey", NULL, NULL, key,
sizeof(struct kerneldumpkey)));
}
More information about the svn-soc-all
mailing list