~csurbhi/ubuntu/maverick/e2fsprogs/e2fsprogs.fix-505719

« back to all changes in this revision

Viewing changes to lib/ext2fs/bitops.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2008-08-08 20:32:11 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20080808203211-w72lpsd9q7o3bw6x
Tags: 1.41.0-3ubuntu1
* Merge from Debian unstable (LP: #254152, #246461), remaining changes:
  - Do not build-depend on dietlibc-dev, which is in universe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
                com_err(0, errcode, "#%lu", arg);
77
77
#endif
78
78
}
79
 
 
80
 
void ext2fs_warn_bitmap2(ext2fs_generic_bitmap bitmap,
81
 
                            int code, unsigned long arg)
82
 
{
83
 
#ifndef OMIT_COM_ERR
84
 
        if (bitmap->description)
85
 
                com_err(0, bitmap->base_error_code+code,
86
 
                        "#%lu for %s", arg, bitmap->description);
87
 
        else
88
 
                com_err(0, bitmap->base_error_code + code, "#%lu", arg);
89
 
#endif
90
 
}
91