diff options
author | Joel Stanley <joel@jms.id.au> | 2017-11-16 14:21:19 +1030 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2017-11-22 10:35:08 +1100 |
commit | 58950eef124fcb37687f856fc5ee7936cb4e31cc (patch) | |
tree | 4800ddb59c55727f167fec04dd025e836280d25d /libpdbg/chip.c | |
parent | c056b947eb43842c7f752af6b67cca983d316a82 (diff) | |
download | pdbg-58950eef124fcb37687f856fc5ee7936cb4e31cc.tar.gz pdbg-58950eef124fcb37687f856fc5ee7936cb4e31cc.zip |
Error out when no device type is specified
The host and FSI backend require the device type to be specified. When
a user forgets, we pass a null pointer to strcmp and segfault.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'libpdbg/chip.c')
0 files changed, 0 insertions, 0 deletions