Same as the errno variant; the colon-space `: ` thing got me in a different
patch.
Closes: #956
Approved by: jlebon
sc_prohibit_path_max_allocation \
sc_trailing_blank \
+sc_glnx_prefix_error_colon:
+ @prohibit='\<glnx_prefix_error *\(.*: ",' halt="don't add trailing : for glnx_prefix_error" \
+ $(_sc_search_regexp)
+
sc_glnx_errno_prefix_colon:
@prohibit='\<glnx_throw_errno_prefix *\(.*: ",' halt="don't add trailing : for glnx_throw_errno_prefix" \
$(_sc_search_regexp)
uid, gid, mode,
xattrs, temp_fd,
cancellable, error))
- return glnx_prefix_error (error, "Writing object %s.%s: ", actual_checksum,
+ return glnx_prefix_error (error, "Writing object %s.%s", actual_checksum,
ostree_object_type_to_string (OSTREE_OBJECT_TYPE_FILE));
/* Clear the unlinker path, it was consumed */
tmp_unlinker.path = NULL;