| 263 | #if USE_XATTR |
| 264 | ATTRIBUTE_FORMAT ((printf, 2, 3)) |
| 265 | static void |
| 266 | copy_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 | |
| 281 | ATTRIBUTE_FORMAT ((printf, 2, 3)) |
| 282 | static void |
nothing calls this directly
no test coverage detected