summaryrefslogtreecommitdiff
path: root/udev_db.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-03-29 16:12:41 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-03-29 16:12:41 +0100
commite7e194a088e984972d6a18c7f7a36a1e8f1f58e6 (patch)
tree1ab3ee39f9fa6679e3198411b3f15cb25b680743 /udev_db.c
parentab815cae7f974ec77b2cd3861f01edf92269a88a (diff)
udevadm: info - resolve devpath if symlink is given
Diffstat (limited to 'udev_db.c')
-rw-r--r--udev_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_db.c b/udev_db.c
index 29aa0316d2..518ace9a5d 100644
--- a/udev_db.c
+++ b/udev_db.c
@@ -37,7 +37,7 @@ static size_t devpath_to_db_path(const char *devpath, char *filename, size_t len
{
size_t start;
- /* add location of db files */
+ /* translate to location of db file */
strlcpy(filename, udev_root, len);
start = strlcat(filename, "/"DB_DIR"/", len);
strlcat(filename, devpath, len);