summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-device.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2014-04-27 12:02:08 +0200
committerMichael Biebl <biebl@debian.org>2014-04-27 12:02:08 +0200
commit14228c0ddf1fe80e2ed0193f0cd1cdb06e5db522 (patch)
tree00e1b58a9518cce9c231598a66be3ac322f484d1 /src/libudev/libudev-device.c
parent663996b3bb3cdaa81ac830674fdda00e28a2485b (diff)
downloadsystemd-14228c0ddf1fe80e2ed0193f0cd1cdb06e5db522.tar.gz
Imported Upstream version 208
Diffstat (limited to 'src/libudev/libudev-device.c')
-rw-r--r--src/libudev/libudev-device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libudev/libudev-device.c b/src/libudev/libudev-device.c
index 6bb2e41510..a644904757 100644
--- a/src/libudev/libudev-device.c
+++ b/src/libudev/libudev-device.c
@@ -42,7 +42,7 @@
*
* Representation of kernel sys devices. Devices are uniquely identified
* by their syspath, every device has exactly one path in the kernel sys
- * filesystem. Devices usually belong to a kernel subsystem, and and have
+ * filesystem. Devices usually belong to a kernel subsystem, and have
* a unique name inside that subsystem.
*/
@@ -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;