diff options
Diffstat (limited to 'Kill.c')
-rw-r--r-- | Kill.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ int Kill(char *dev, int force) mdp_super_t super; int fd, rv = 0; - fd = open(dev, O_RDWR); + fd = open(dev, O_RDWR|O_EXCL); if (fd < 0) { fprintf(stderr, Name ": Couldn't open %s for write - not zeroing\n", dev); |