mirror of
https://github.com/clearlinux/swupd-server.git
synced 2026-09-05 05:01:34 +00:00
fullfiles.c: fix invalid LOG() call
LOG() takes an additional fixed string before the format string. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ static void create_fullfile(struct file *file)
|
||||
string_or_die(&origin, "%s/%i/full/%s", indir, file->last_change, file->filename);
|
||||
if (lstat(origin, &sbuf) < 0) {
|
||||
/* no input file: means earlier phase of update creation failed */
|
||||
LOG(NULL, "Failed to stat %s\n", origin);
|
||||
LOG(NULL, "Failed to stat", "%s: %s", origin, strerror(errno));
|
||||
assert(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user