diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2008-12-17 11:15:54 +0100 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-20 15:30:56 +0200 |
commit | a5d3a800db996aa81a07c0ae42240971460ac00d (patch) | |
tree | 79085dd67aa7ebb858c82f6f83dd5f668913db33 /fec.c | |
parent | f6bd2c366b32262c2a5a1ac38713dc84bf7c9cbf (diff) |
ubiupdatevol: fix -t parameter
The execution of
|./ubiupdatevol /dev/ubi0 -t
will fail because 'argv[optind + 1]' is undefined and the later executed
'strcmp(args.img, "-")' will segfault.
So I can hack around and supply a dummy image or fix it that way.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fec.c')
0 files changed, 0 insertions, 0 deletions