aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/usbreset/src/usbreset.c
diff options
context:
space:
mode:
Diffstat (limited to 'package/utils/usbreset/src/usbreset.c')
-rw-r--r--package/utils/usbreset/src/usbreset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/usbreset/src/usbreset.c b/package/utils/usbreset/src/usbreset.c
index f6f2ba288a..ead30b1d82 100644
--- a/package/utils/usbreset/src/usbreset.c
+++ b/package/utils/usbreset/src/usbreset.c
@@ -65,7 +65,7 @@ struct usbentry {
static char *sysfs_attr(const char *dev, const char *attr)
{
- int fd, len;
+ int fd, len = 0;
char path[PATH_MAX];
static char buf[129];