Skip to content

mark.c output message to stdout hurts #3

Open
@gnadelwartz

Description

@gnadelwartz

I suggest to change the printf in line:

printf("mark: setting SO_MARK for fd=%u to %#x\n", sd, mark);

to fprintf:

fprintf(stderr, "mark: setting SO_MARK for fd=%u to %#x\n", sd, mark); 

this will prevent problems when using commands with pipes or when parsing stdout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions