~mrooney/ecryptfs/nautilus-integration

Viewing all changes in revision 376.1.11.

  • Committer: Michal Hlavinka
  • Date: 2009-04-22 09:05:00 UTC
  • mto: This revision was merged to the branch mainline in revision 384.
  • Revision ID: mhlavink@redhat.com-20090422090500-sl9w1s3rbud0kk29
check and fix asprintf's error codes

Change all MOUNT_ERROR return codes for asprintf failure to -ENOMEM. 
Make sure all return codes are reset to zero or overwritten,
because asprintf doesn't return zero for success.

Signed-off-by: Michal Hlavinka <mhlavink@redhat.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: