Skip to content

small cleanup to fsx.c #2

@macosforgebot

Description

@macosforgebot

kirk@… originally submitted this as ticket:14

  • Owner: somebody
  • Cc: krussell@…

kirussel/portablefstools@master...kirussel/misc

I have proposed some changes that fixes the following:

  • for msync(), uses MS_SYNC, instead of hard coding zero
  • for mmap(), uses MAP_FAILED, instead of harding coding -1
  • for getopt(), using -1, instead of EOF
  • added "y" to the getopt string -- this is already implemented but is missing from the command line args

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions