~ubuntu-branches/ubuntu/dapper/mdadm/dapper

« back to all changes in this revision

Viewing changes to Kill.c

  • Committer: Package Import Robot
  • Author(s): Jeff Bailey
  • Date: 2005-06-08 00:33:00 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20050608003300-yzj8q815gksw6drr
Tags: 1.11.0-0ubuntu1
New Upstream Release, fixes segfault with --config=partitions

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        mdp_super_t super;
45
45
        int fd, rv = 0;
46
46
                
47
 
        fd = open(dev, O_RDWR);
 
47
        fd = open(dev, O_RDWR|O_EXCL);
48
48
        if (fd < 0) {
49
49
                fprintf(stderr, Name ": Couldn't open %s for write - not zeroing\n",
50
50
                        dev);