aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/utils/usbreset/Makefile4
-rw-r--r--package/utils/usbreset/src/usbreset.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/package/utils/usbreset/Makefile b/package/utils/usbreset/Makefile
index 55ce21ef52..d8efa54c15 100644
--- a/package/utils/usbreset/Makefile
+++ b/package/utils/usbreset/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2011-2013 OpenWrt.org
+# Copyright (C) 2011-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=usbreset
-PKG_RELEASE:=3
+PKG_RELEASE:=4
include $(INCLUDE_DIR)/package.mk
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];