diff options
author | etheisen <etheisen@cvs.openbsd.org> | 1996-09-28 04:30:40 +0000 |
---|---|---|
committer | etheisen <etheisen@cvs.openbsd.org> | 1996-09-28 04:30:40 +0000 |
commit | ddce10852d9316eeff643ea7b1d3f9a99aa5f8a1 (patch) | |
tree | 76bac369858a52eda8c3f7df1b923f82393f015b | |
parent | 6071dc302eba7ec6ba4e78e4e2c405a0b02b7e8c (diff) |
strdup() not needed for makefile names.
-rw-r--r-- | distrib/crunch/crunchgen/crunchgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/crunch/crunchgen/crunchgen.c b/distrib/crunch/crunchgen/crunchgen.c index c52fec85dfd..c86d6f193ff 100644 --- a/distrib/crunch/crunchgen/crunchgen.c +++ b/distrib/crunch/crunchgen/crunchgen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crunchgen.c,v 1.5 1996/09/27 06:06:58 etheisen Exp $ */ +/* $OpenBSD: crunchgen.c,v 1.6 1996/09/28 04:30:39 etheisen Exp $ */ /* * Copyright (c) 1994 University of Maryland * All Rights Reserved. @@ -524,7 +524,7 @@ void fillin_program(prog_t *p) for (i = 0; mf_name[i] != NULL; i++) { sprintf(path, "%s/%s", p->srcdir, mf_name[i]); if (is_nonempty_file(path)) { - p->mf_name = strdup(mf_name[i]); + p->mf_name = mf_name[i]; fillin_program_objs(p, path); break; } |