main: improve log message

This commit is contained in:
David Tardon 2023-05-05 14:17:21 +02:00
parent e652663a04
commit b45e316708

View file

@ -1004,7 +1004,7 @@ static int parse_argv(int argc, char *argv[]) {
fd = parse_fd(optarg);
if (fd == -ERANGE)
return log_error_errno(fd, "Invalid deserialize fd: %s", optarg);
return log_error_errno(fd, "Invalid serialization fd: %s", optarg);
if (fd < 0)
return log_error_errno(fd, "Failed to parse deserialize option \"%s\": %m", optarg);