Re: [PATCH] btrfs-progs: print errno string when /dev/btrfs-control open fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 14, 2013 at 11:17:19AM +0800, Anand Jain wrote:
>  		fprintf(stderr, "failed to open /dev/btrfs-control "
> -			"skipping device registration\n");
> +			"%s, skipping device registration\n",
> +			strerror(errno));

I think the common pattern here is that error details follow the
message, like

+			"skipping device registration: %s\n",

I'll fix it here, if you don't mind.

david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux