~ubuntu-branches/ubuntu/gutsy/kdebase-workspace/gutsy-backports

« back to all changes in this revision

Viewing changes to ksysguard/ksysguardd/Linux/softraid.c

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-10-31 19:16:54 UTC
  • Revision ID: james.westby@ubuntu.com-20071031191654-xuof6e1jg6uxqaze
Tags: 3.95.0-0ubuntu1~gutsy1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
214
214
        char* mdadmStatBufP;
215
215
 
216
216
        /* Create a pipe */
217
 
        pipe(fd);
 
217
        if(pipe(fd) == -1)
 
218
        {
 
219
                perror("Could not create a pipe to launch mdadm.");
 
220
                exit(1);
 
221
        }
218
222
 
219
223
        /* Fork */
220
224
        if((ChildPID = fork()) == -1)