~peter-pearse/ubuntu/natty/dosfstools/prop001

« back to all changes in this revision

Viewing changes to src/io.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-12-24 10:57:15 UTC
  • mfrom: (1.1.8 upstream) (4.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091224105715-gwf5enr16ylgrogk
Tags: 3.0.7-1
* Correcting wrong vcs-browser field.
* Adding explicit debian source version 1.0 until switch to 3.0.
* Merging upstream version 3.0.7:
  - Fixes dosfslabel to set volume label in the right place (Closes: #559985).

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
{
77
77
    struct stat stbuf;
78
78
 
79
 
    if ((fd = open(path,rw ? O_RDWR : O_RDONLY)) < 0)
80
 
        pdie("open %s",path);
 
79
    if ((fd = open(path,rw ? O_RDWR : O_RDONLY)) < 0) {
 
80
       perror("open");
 
81
       exit(6);
 
82
    }
81
83
    changes = last = NULL;
82
84
    did_change = 0;
83
85