intel_adsp_cavs15/ adsplog.py: add missing new line in ERROR msg
PS: print() does that for free. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
f397f1774f
commit
f34b87988b
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ for dev in DEVICES:
|
|||
continue
|
||||
|
||||
if not os.access(barfile, os.R_OK):
|
||||
sys.stderr.write(f"ERROR: Cannot open {barfile} for reading.")
|
||||
sys.stderr.write(f"ERROR: Cannot open {barfile} for reading.\n")
|
||||
sys.exit(1)
|
||||
|
||||
fd = open(barfile)
|
||||
|
@ -67,7 +67,7 @@ for dev in DEVICES:
|
|||
prot=mmap.PROT_READ)
|
||||
|
||||
if mem is None:
|
||||
sys.stderr.write("ERROR: No ADSP device found.")
|
||||
sys.stderr.write("ERROR: No ADSP device found.\n")
|
||||
sys.exit(1)
|
||||
|
||||
# Returns a tuple of (id, msg) if the slot is valid, or (-1, "") if
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue