From owner-svn-src-head@FreeBSD.ORG Thu Oct 7 18:20:16 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DDE41065670; Thu, 7 Oct 2010 18:20:16 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5BD198FC1A; Thu, 7 Oct 2010 18:20:16 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o97IKGTa049865; Thu, 7 Oct 2010 18:20:16 GMT (envelope-from pjd@svn.freebsd.org) Received: (from pjd@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o97IKGfq049863; Thu, 7 Oct 2010 18:20:16 GMT (envelope-from pjd@svn.freebsd.org) Message-Id: <201010071820.o97IKGfq049863@svn.freebsd.org> From: Pawel Jakub Dawidek Date: Thu, 7 Oct 2010 18:20:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r213531 - head/sbin/hastd X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2010 18:20:16 -0000 Author: pjd Date: Thu Oct 7 18:20:16 2010 New Revision: 213531 URL: http://svn.freebsd.org/changeset/base/213531 Log: Log error message when we fail to destroy ggate provider. MFC after: 3 days Modified: head/sbin/hastd/primary.c Modified: head/sbin/hastd/primary.c ============================================================================== --- head/sbin/hastd/primary.c Thu Oct 7 18:19:02 2010 (r213530) +++ head/sbin/hastd/primary.c Thu Oct 7 18:20:16 2010 (r213531) @@ -242,7 +242,8 @@ cleanup(struct hast_resource *res) ggiod.gctl_unit = res->hr_ggateunit; ggiod.gctl_force = 1; if (ioctl(res->hr_ggatefd, G_GATE_CMD_DESTROY, &ggiod) < 0) { - pjdlog_warning("Unable to destroy hast/%s device", + pjdlog_errno(LOG_WARNING, + "Unable to destroy hast/%s device", res->hr_provname); } res->hr_ggateunit = -1;