~ubuntu-branches/debian/lenny/mtools/lenny

« back to all changes in this revision

Viewing changes to mdir.c

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2006-07-08 12:36:15 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060708123615-0vrt17kv065uagfw
Replaced libx11-dev and libxau-dev by xlibs-static-dev and
libxt-dev as build-dependencies. Please refer to #347025.
Closes: #367558. Patch by Vincent Rivière <riviere@iut-rodez.fr>.

Show diffs side-by-side

added added

removed removed

Lines of Context:
238
238
                if(RootDir && !fast) {
239
239
                        char *s1 = NULL;
240
240
                        mt_off_t bytes = getfree(RootDir);
 
241
                        if(bytes == -1) {
 
242
                                fprintf(stderr, "Fat error\n");
 
243
                                goto exit_1;
 
244
                        }
241
245
                        printf("                  %s bytes free\n\n",
242
246
                               dotted_num(bytes,17, &s1));
243
247
#ifdef TEST_SIZE
250
254
                                free(s1);
251
255
                }
252
256
        }
 
257
 exit_1:
253
258
        FREE(&RootDir);
254
259
        currentDrive = '\0';
255
260
}