Date: Fri, 3 Oct 2014 04:13:25 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r272468 - head/sys/geom Message-ID: <201410030413.s934DPR2012127@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hrs Date: Fri Oct 3 04:13:25 2014 New Revision: 272468 URL: https://svnweb.freebsd.org/changeset/base/272468 Log: Fix a bug in r272297 which prevented dumpdev from setting. !u is not equivalent to (u != 0). Modified: head/sys/geom/geom_dev.c Modified: head/sys/geom/geom_dev.c ============================================================================== --- head/sys/geom/geom_dev.c Fri Oct 3 02:24:41 2014 (r272467) +++ head/sys/geom/geom_dev.c Fri Oct 3 04:13:25 2014 (r272468) @@ -395,7 +395,7 @@ g_dev_ioctl(struct cdev *dev, u_long cmd error = g_io_getattr("GEOM::frontstuff", cp, &i, data); break; case DIOCSKERNELDUMP: - if (*(u_int *)data != 0) { + if (*(u_int *)data == 0) { error = set_dumper(NULL, NULL); break; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410030413.s934DPR2012127>