Re: [PATCH] Monitor.c (trivial) Remove bedside manner in email text.

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

 



On Tue,  2 Sep 2014 14:27:48 -0500 Phil Kauffman <kauffman@xxxxxxxxxxxxxxx>
wrote:

> The words removed are superfluous and add no value to the message.
> In addition, they imply that the message is from a person,
> which is obviously not the case.
> ---
>  Monitor.c |    4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/Monitor.c b/Monitor.c
> index 5cb24fa..74a88e1 100644
> --- a/Monitor.c
> +++ b/Monitor.c
> @@ -402,14 +402,12 @@ static void alert(char *event, char *dev, char *disc, struct alert_info *info)
>  			if (disc && disc[0] == ' ')
>  				fprintf(mp, "Extra information:%s.\n\n", disc);
>  
> -			fprintf(mp, "Faithfully yours, etc.\n");
> -
>  			mdstat = fopen("/proc/mdstat", "r");
>  			if (mdstat) {
>  				char buf[8192];
>  				int n;
>  				fprintf(mp,
> -					"\nP.S. The /proc/mdstat file"
> +					"\nThe /proc/mdstat file"
>  					" currently contains the following:\n\n");
>  				while ( (n=fread(buf, 1, sizeof(buf), mdstat)) > 0)
>  					n=fwrite(buf, 1, n, mp);

"superfluous" - probably.
"no value" - I did receive a comment from someone saying that the "Faithfully
your" line gave them a chuckle when they needed it.

Did/do the words you would like removed actually cause a problem?
I'm inclined to not apply the patch but if you have a case which is stronger
than the one you have made so far, I will certainly listen to it.

Thanks,
NeilBrown

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux