Re: [PATCH 5/11] last: Use EXIT_* and err()

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

 



On 12/10/2010 02:23 PM, Karel Zak wrote:
> On Wed, Dec 01, 2010 at 05:18:11PM +0100, Marek Polacek wrote:
>> Signed-off-by: Marek Polacek <mmpolacek@xxxxxxxxx>
>> ---
>>  login-utils/last.c |   40 ++++++++++++++++++++++------------------
>>  1 files changed, 22 insertions(+), 18 deletions(-)
> 
>  Applied, thanks.
> 
>>
>> diff --git a/login-utils/last.c b/login-utils/last.c
>> index 293a0fd..4f2b638 100644
>> --- a/login-utils/last.c
>> +++ b/login-utils/last.c
>> @@ -29,6 +29,7 @@
>>  /*
>>   * last
>>   */
>> +#include <err.h>
>>  #include <sys/param.h>
>>  #include <sys/stat.h>
>>  #include <sys/file.h>
>> @@ -147,7 +148,7 @@ main(int argc, char **argv) {
>>  		case '?':
>>  		default:
>>  			fputs(_("usage: last [-#] [-f file] [-t tty] [-h hostname] [user
>> ...]\n"), stderr);
> ^^^^^^^^^^^^^^^^^^^
> 
>  BTW, your MTU is useless for patches :-( 
>  
>  The patch should not be modified by mail client. The best way is to
>  use the "git send-email" command.
> 

Ah :(.  Sorry.  I will use it from now on.

	Marek

>     Karel
> 
> 

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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux