search for: 6ce3b60

Displaying 1 result from an estimated 1 matches for "6ce3b60".

Did you mean: 6ce32bd0
2010 Jun 19
0
[PATCH] extlinux/main.c: Silence warnings
...CC with asprintf's attribute warn_unused_result in certain glibc versions/patches. Assign it to a variable and ignore it as the string is already tested for null before using it. Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- diff --git a/extlinux/main.c b/extlinux/main.c index 6ce3b60..a9645d0 100644 --- a/extlinux/main.c +++ b/extlinux/main.c @@ -512,8 +512,9 @@ int ext2_fat_install_file(const char *path, int devfd, struct stat *rst) char *file; int fd = -1, dirfd = -1; int modbytes; + int ret; - asprintf(&file, "%s%sextlinux.sys", + ret =...