aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Jerpelea <alin.jerpelea@sony.com>2018-09-24 11:19:41 +0300
committerGitHub <noreply@github.com>2018-09-24 11:19:41 +0300
commit8cdee18386b5cea2e48614e2dba9404d5586c05c (patch)
treeed26021d37f419947d5268b06f110bdbefe49421
parent331b1addd99f222e554fd7187da97c067f7419cf (diff)
parent5bd41ba7000343dcff7ad03114f69ae9d9edb32f (diff)
Merge pull request #26 from humberos/master
macaddrsetup: don't spam errors on warnings
-rw-r--r--macaddrsetup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/macaddrsetup.c b/macaddrsetup.c
index 14933e3..dcb25a6 100644
--- a/macaddrsetup.c
+++ b/macaddrsetup.c
@@ -35,6 +35,7 @@ int main(int argc, char **argv)
#ifdef BRCMFMAC
struct ifreq ifr;
int sockfd;
+ argv = NULL;
#endif
// Sony had a check for ro.hardware here, but since all supported devices were added here anyways,