Re: [TRIVIAL][PATCH] Improve error handling in the btrfs command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21/12/10 09:53, Goffredo Baroncelli wrote:

> Some time I needed to add other info, so perror(3) may not be sufficient..

Ah, of course, and you cannot rely on safely snprintf()'ing
something into the string would get passed to perror() because
that could easily change errno if something went wrong internally.

All the best,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux