summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-device.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-07-01 22:34:43 +0200
committerKay Sievers <kay@vrfy.org>2013-07-01 22:34:43 +0200
commit67410e9f73a6cdd8453c78b966451b5151def14a (patch)
tree1e232d31e4f386b8790bfd62fe4f2d64cbbd2782 /src/libudev/libudev-device.c
parentd9b17672ebf335292228fb193a842f410560d7a5 (diff)
hwdb: add --device=<device-id> and --filter=<key name glob>
Diffstat (limited to 'src/libudev/libudev-device.c')
-rw-r--r--src/libudev/libudev-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-device.c b/src/libudev/libudev-device.c
index 6bb2e41510..eb43668c56 100644
--- a/src/libudev/libudev-device.c
+++ b/src/libudev/libudev-device.c
@@ -780,7 +780,7 @@ _public_ struct udev_device *udev_device_new_from_devnum(struct udev *udev, char
*
* Returns: a new udev device, or #NULL, if it does not exist
**/
-_public_ struct udev_device *udev_device_new_from_device_id(struct udev *udev, char *id)
+_public_ struct udev_device *udev_device_new_from_device_id(struct udev *udev, const char *id)
{
char type;
int maj, min;