diff options
| author | Hartmut Brandt <harti@FreeBSD.org> | 2003-08-20 08:25:36 +0000 |
|---|---|---|
| committer | Hartmut Brandt <harti@FreeBSD.org> | 2003-08-20 08:25:36 +0000 |
| commit | 70b6366edd9022a4f83d53decd6bf142642c6562 (patch) | |
| tree | 6e84ab8c5dd59306fb9a6ac1001e167c761ebd33 /sbin/atm | |
| parent | 36ffc09c55acb88f4b6678d7b816a0ba70c3687e (diff) | |
Notes
Diffstat (limited to 'sbin/atm')
| -rw-r--r-- | sbin/atm/atmconfig/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/atm/atmconfig/main.c b/sbin/atm/atmconfig/main.c index 5430fbb94ee6..fcdcd069754d 100644 --- a/sbin/atm/atmconfig/main.c +++ b/sbin/atm/atmconfig/main.c @@ -105,7 +105,8 @@ help_func(int argc, char *argv[]) errx(1, "help file not found"); if (argc == 0) { - argv[0] = __DECONST(char *, "intro"); + if ((argv[0] = strdup("intro")) == NULL) + err(1, NULL); argc = 1; } |
