From owner-freebsd-current Tue May 25 22: 8:18 1999 Delivered-To: freebsd-current@freebsd.org Received: from deep-thought.demos.su (deep-thought.demos.su [194.87.1.76]) by hub.freebsd.org (Postfix) with ESMTP id 7A37814D8B for ; Tue, 25 May 1999 22:08:14 -0700 (PDT) (envelope-from ache@deep-thought.demos.su) Received: (from ache@localhost) by deep-thought.demos.su (8.9.3/8.9.3) id JAA23760 for current@freebsd.org; Wed, 26 May 1999 09:08:13 +0400 (MSD) (envelope-from ache) Date: Wed, 26 May 1999 09:08:11 +0400 From: "Andrey A. Chernov" To: current@freebsd.org Subject: kvm_getswapinfo is broken Message-ID: <19990526090810.A23737@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just check 'swapinfo' in recent -current, it shows "/dev/(null)" as swap device, it means that devinfo() call in kvm_getswapinfo() returns NULL, i.e. called with wrong argument which is swinfo.sw_dev Fix it, please. -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message