diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-09-02 13:19:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2019-09-02 13:19:19 +0000 |
commit | d14f90d4a0bcef7a2c27c759271c1ccc985fa171 (patch) | |
tree | 0f0fc61742662bdb603cde448dd6e93db3c89788 /tsutils | |
parent | 392cad1a8dbfda836abf7f545e8ad46e100266e7 (diff) | |
parent | f577736a736dae0c5e32b2c3f63101ece9bdf4f8 (diff) |
Merge "Fix mistake introduced by commit 94122a8f011fc629" into halibuthalibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.18.0.68.0.58.0.48.0.38.0.28.0.1halibut
Diffstat (limited to 'tsutils')
-rw-r--r-- | tsutils/tsplayer/tsplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tsutils/tsplayer/tsplayer.c b/tsutils/tsplayer/tsplayer.c index acb968b..e197519 100644 --- a/tsutils/tsplayer/tsplayer.c +++ b/tsutils/tsplayer/tsplayer.c @@ -280,7 +280,7 @@ int main(int argc,char *argv[]) {
if (strcmp(argv[index], "-f") == 0)
{
- memcpy(eventFileName, argv[index + 1], strlen(argv[index]));
+ memcpy(eventFileName, argv[index + 1], strlen(argv[index + 1]) + 1);
index++;
}
else if (strcmp(argv[index], "-d") == 0)
|