From owner-cvs-all@FreeBSD.ORG Sat Nov 5 23:38:08 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFC9616A41F; Sat, 5 Nov 2005 23:38:08 +0000 (GMT) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CF7543D45; Sat, 5 Nov 2005 23:38:08 +0000 (GMT) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jA5Nc8NF025642; Sat, 5 Nov 2005 23:38:08 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jA5Nc8MT025641; Sat, 5 Nov 2005 23:38:08 GMT (envelope-from csjp) Message-Id: <200511052338.jA5Nc8MT025641@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Sat, 5 Nov 2005 23:38:08 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/fstat fstat.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2005 23:38:09 -0000 csjp 2005-11-05 23:38:08 UTC FreeBSD src repository Modified files: usr.bin/fstat fstat.c Log: Un-break processing of device major/minor values with fstat -n. We do this by accessing the cdev_priv element of the cdev structure. Looking forward we need a better way to handle this, as this structure shouldn't be frobbed by userspace. Submitted by: Doug Steinwand PR: bin/88203 MFC after: 1 week Discussed with: phk Revision Changes Path 1.62 +5 -3 src/usr.bin/fstat/fstat.c