MCPcopy Create free account
hub / github.com/coreutils/coreutils / copy_attr_error

Function copy_attr_error

src/copy.c:265–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263#if USE_XATTR
264ATTRIBUTE_FORMAT ((printf, 2, 3))
265static void
266copy_attr_error (MAYBE_UNUSED struct error_context *ctx,
267 char const *fmt, ...)
268{
269 if (!errno_unsupported (errno))
270 {
271 int err = errno;
272 va_list ap;
273
274 /* use verror module to print error message */
275 va_start (ap, fmt);
276 verror (0, err, fmt, ap);
277 va_end (ap);
278 }
279}
280
281ATTRIBUTE_FORMAT ((printf, 2, 3))
282static void

Callers

nothing calls this directly

Calls 1

errno_unsupportedFunction · 0.85

Tested by

no test coverage detected