diff options
author | patmans@us.ibm.com <patmans@us.ibm.com> | 2005-02-25 23:51:17 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:39:48 -0700 |
commit | 4e05e4238b2cb63eb3f3cd51cf76f136fa684f2e (patch) | |
tree | c7743c75d9ff8cac53a3eb97c3e6f2390d5ac300 /extras/scsi_id/scsi_id.h | |
parent | 77313cd0d13ed3682f25c745f71f648292b28215 (diff) |
[PATCH] update scsi_id to work with libsysfs changes
Update scsi_id to work with the libsysfs changes in udev: use
sysfs_get_classdev_attr and sysfs_get_device_attr in place of
sysfs_read_attribute_value.
Diffstat (limited to 'extras/scsi_id/scsi_id.h')
-rw-r--r-- | extras/scsi_id/scsi_id.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/extras/scsi_id/scsi_id.h b/extras/scsi_id/scsi_id.h index 0ca7cd4206..74b449e984 100644 --- a/extras/scsi_id/scsi_id.h +++ b/extras/scsi_id/scsi_id.h @@ -44,8 +44,6 @@ */ #define MAX_BUFFER_LEN 256 -extern int sysfs_get_attr(const char *devpath, const char *attr, char *value, - size_t bufsize); extern int scsi_get_serial (struct sysfs_device *scsi_dev, const char *devname, int page_code, char *serial, int len); |