[PATCH] Fix addmntent () to not return and error when fprintf returns 0

Khem Raj kraj at mvista.com
Tue Oct 30 21:11:12 UTC 2007


Hi

We found that when doing addmntent() uclibc uses fprintf and returns  
an error when fprintf returns 0. A 0 return from fprintf is valid.

attached patch fixes it. OK?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: uclibc-mntent-fprintf-return.patch
Type: application/octet-stream
Size: 890 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20071030/2b1ef5cd/attachment-0002.obj 
-------------- next part --------------



Khem Raj
MontaVista





More information about the uClibc mailing list