Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2013 12:06:56 +0100 (BST)
From:      Richard Tobin <richard@inf.ed.ac.uk>
To:        Ian Lepore <ian@freebsd.org>, Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: stm32flash under FreeBSD?
Message-ID:  <20130919110656.5F9E197257B@macavity.inf.ed.ac.uk>
In-Reply-To: Ian Lepore's message of Wed, 18 Sep 2013 18:02:53 -0600

next in thread | raw e-mail | index | archive | help
> Then it mangles the error reporting to make it
> look like the tty device was the thing not found.

It appears to call perror(device) if serial_setup() returns an error,
even though that can fail without setting errno.

-- Richard

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130919110656.5F9E197257B>