summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-12-02 21:45:26 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 22:38:22 -0700
commit0d1ecb44a0b8c00b0fc6314d19e1bc8efd0f32bb (patch)
tree482d9acc5484982d9a31951e830d0560c18acf82
parentd07557b9b6ba72f50c6b80ea06cecac61cf9eeb1 (diff)
[PATCH] fix udevinfo '-q path' option as it was not working
-rw-r--r--udevinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevinfo.c b/udevinfo.c
index 901990ede6..9ba302cbdc 100644
--- a/udevinfo.c
+++ b/udevinfo.c
@@ -401,7 +401,7 @@ print:
break;
case PATH:
- strfieldcpy(result, path);
+ strfieldcpy(result, udev.devpath);
break;
case ALL: