aboutsummaryrefslogtreecommitdiffstats
path: root/package/wprobe/src/user/wprobe-lib.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-07-07 02:22:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-07-07 02:22:46 +0000
commit5a5f24ac230a0cc8b885858134c1c219b77954f8 (patch)
treeded7a80db667a1ccedcca9076bde24105e2e8978 /package/wprobe/src/user/wprobe-lib.c
parent05672efde88459824d446feade3f0f824b9e535a (diff)
downloadupstream-5a5f24ac230a0cc8b885858134c1c219b77954f8.tar.gz
upstream-5a5f24ac230a0cc8b885858134c1c219b77954f8.tar.bz2
upstream-5a5f24ac230a0cc8b885858134c1c219b77954f8.zip
fix wprobe-export
SVN-Revision: 16727
Diffstat (limited to 'package/wprobe/src/user/wprobe-lib.c')
-rw-r--r--package/wprobe/src/user/wprobe-lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/wprobe/src/user/wprobe-lib.c b/package/wprobe/src/user/wprobe-lib.c
index a3b0fb5e5e..a1a52f2054 100644
--- a/package/wprobe/src/user/wprobe-lib.c
+++ b/package/wprobe/src/user/wprobe-lib.c
@@ -795,7 +795,8 @@ wprobe_get_auto(const char *arg, char **err)
free(devstr);
return wprobe_get_dev(arg);
#else
- *err = "Invalid argument";
+ if (err)
+ *err = "Invalid argument";
goto out;
#endif
}