[PATCH] libbb: More informative "short write" error

Tito farmatito at tiscali.it
Mon Sep 5 20:46:00 UTC 2016



On 09/05/2016 06:49 PM, Lauri Kasanen wrote:
> On Mon, Sep 5, 2016, at 13:18, Denys Vlasenko wrote:
>> How about just replacing bb_error_msg_and_die()
>> with bb_perror_msg_and_die()?
>
> $ busybox wget google.com
> Connecting to google.com (172.217.20.14:80)
> Connecting to www.google.fi (80.239.229.245:80)
Hi,
isn't "short write" redundant?

> wget: short write: No space left on device

maybe better to use just the function name or only the strerror?

Ciao,
Tito

> Works, thanks.
>
> - Lauri
>


More information about the busybox mailing list