Subject: drvctl -p returns ENOMEM
To: None <>
From: Juan RP <>
List: tech-kern
Date: 09/25/2006 23:36:18

Thanks for your work on drvctl(8) to report the device properties
dictionary. I wanted to try it out with the wd driver (you added
properties for this one too) but does not seem to work:

[juan@nocturno][~]> sudo drvctl -p wd0
drvctl: DRVCTLCOMMAND: Cannot allocate memory

I added a printf into drvctl_command() to see if the error was
creating the dictionary but it's not, so the problem might come
from prop_dictionary_copyin_ioctl() which returns error if there's

Could you please take a look at it?