diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-20 00:01:20 -0700 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-20 00:01:20 -0700 |
commit | fb762bb928772f1923fef1e342d8ebca9bf7691f (patch) | |
tree | 86916643572d8c9b6bc5007b5c493aa7aaf9c944 /udev/lib | |
parent | 38f27948cdafd8a4b90a6b4f1f54b89891983506 (diff) |
libudev: udev_device_get_devname -> udev_device_get_devnode
Diffstat (limited to 'udev/lib')
-rw-r--r-- | udev/lib/exported_symbols | 2 | ||||
-rw-r--r-- | udev/lib/libudev-device.c | 4 | ||||
-rw-r--r-- | udev/lib/libudev.h | 2 | ||||
-rw-r--r-- | udev/lib/test-libudev.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/udev/lib/exported_symbols b/udev/lib/exported_symbols index c06148b254..5646bb59fa 100644 --- a/udev/lib/exported_symbols +++ b/udev/lib/exported_symbols @@ -14,7 +14,7 @@ udev_device_unref udev_device_get_udev udev_device_get_syspath udev_device_get_devpath -udev_device_get_devname +udev_device_get_devnode udev_device_get_sysname udev_device_get_subsystem udev_device_get_devlinks diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c index cc44c78ad7..731230efd0 100644 --- a/udev/lib/libudev-device.c +++ b/udev/lib/libudev-device.c @@ -361,7 +361,7 @@ const char *udev_device_get_sysname(struct udev_device *udev_device) } /** - * udev_device_get_devname: + * udev_device_get_devnode: * @udev_device: udev device * * Retrieve the device node file name belonging to the udev device. @@ -369,7 +369,7 @@ const char *udev_device_get_sysname(struct udev_device *udev_device) * * Returns: the device node file name of the udev device, or #NULL if no device node exists **/ -const char *udev_device_get_devname(struct udev_device *udev_device) +const char *udev_device_get_devnode(struct udev_device *udev_device) { if (udev_device == NULL) return NULL; diff --git a/udev/lib/libudev.h b/udev/lib/libudev.h index 78fc137c12..1970652f8f 100644 --- a/udev/lib/libudev.h +++ b/udev/lib/libudev.h @@ -54,7 +54,7 @@ extern const char *udev_device_get_devpath(struct udev_device *udev_device); extern const char *udev_device_get_subsystem(struct udev_device *udev_device); extern const char *udev_device_get_syspath(struct udev_device *udev_device); extern const char *udev_device_get_sysname(struct udev_device *udev_device); -extern const char *udev_device_get_devname(struct udev_device *udev_device); +extern const char *udev_device_get_devnode(struct udev_device *udev_device); extern int udev_device_get_devlinks(struct udev_device *udev_device, int (*cb)(struct udev_device *udev_device, const char *value, void *data), diff --git a/udev/lib/test-libudev.c b/udev/lib/test-libudev.c index 39330a74c6..0a0d754b38 100644 --- a/udev/lib/test-libudev.c +++ b/udev/lib/test-libudev.c @@ -64,7 +64,7 @@ static void print_device(struct udev_device *device) printf("subsystem: '%s'\n", str); str = udev_device_get_driver(device); printf("driver: '%s'\n", str); - str = udev_device_get_devname(device); + str = udev_device_get_devnode(device); printf("devname: '%s'\n", str); count = udev_device_get_devlinks(device, print_devlinks_cb, NULL); printf("found %i links\n", count); |