[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-sysutils] argp patch for chfn.c
From: |
Marco Gerards |
Subject: |
Re: [Bug-sysutils] argp patch for chfn.c |
Date: |
Fri, 04 Jun 2004 20:19:49 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Barry deFreese <address@hidden> writes:
> OK, here are the argp updates for chfn.
It looks fine to me (well, I had a really quick look). This is
something minor, instead of this code:
> + case ARGP_KEY_INIT:
> + args->user = NULL;
> + args->fname = NULL;
> + args->room = NULL;
> + args->wphone = NULL;
> + args->hphone = NULL;
> + args->other = NULL;
> + break;
You can change this...
> + struct arguments args;
Into this...
struct arguments args = { 0 };
Ok, I have not tested this, but it should work. ;)
--
Marco
- Re: [Bug-sysutils] argp patch for chfn.c,
Marco Gerards <=