mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-11-22 07:33:06 +00:00
Fix code style
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ static int record_filename(const char *name, const struct stat *stat __attribute
|
||||
F = realloc(F, (nF + 1) * sizeof(*F)); /* TODO, check realloc is smart, so don't need to double myself */
|
||||
if (!F || !savedname) {
|
||||
fprintf(stderr, "Out of memory allocating %d filenames\n", nF);
|
||||
abort(); /* For consistency with string_or_die on out of memory*/
|
||||
abort(); /* For consistency with string_or_die on out of memory*/
|
||||
return -ENOMEM;
|
||||
}
|
||||
F[nF].filename = savedname;
|
||||
|
||||
Reference in New Issue
Block a user