Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 152337 Details for
Bug 220347
pmount doesn't work with 2.6.25 kernels (with deprecated sysfs off?)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to sysfsutils fixing pmount for 2.6.25
sysfsutils-2.1.0-2.6.25.patch (text/plain), 717 bytes, created by
Rafał Mużyło
on 2008-05-07 19:35:24 UTC
(
hide
)
Description:
Patch to sysfsutils fixing pmount for 2.6.25
Filename:
MIME Type:
Creator:
Rafał Mużyło
Created:
2008-05-07 19:35:24 UTC
Size:
717 bytes
patch
obsolete
>--- lib/sysfs_device.c.old 2006-08-07 07:08:01.000000000 +0200 >+++ lib/sysfs_device.c 2008-05-07 21:35:55.000000000 +0200 >@@ -170,10 +170,6 @@ > errno = EINVAL; > return NULL; > } >- if (sysfs_path_is_dir(path)) { >- dprintf("Incorrect path to device: %s\n", path); >- return NULL; >- } > dev = alloc_device(); > if (!dev) { > dprintf("Error allocating device at %s\n", path); >@@ -197,9 +193,7 @@ > * implies that the dev->name and dev->bus_id contain same data. > */ > safestrcpy(dev->name, dev->bus_id); >- >- if (sysfs_get_device_bus(dev)) >- dprintf("Could not get device bus\n"); >+ safestrcpy(dev->bus, dev->bus_id); > > if (get_dev_driver(dev)) { > dprintf("Could not get device %s's driver\n", dev->bus_id);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 220347
: 152337