diff options
Diffstat (limited to 'bin/ed/main.c')
-rw-r--r-- | bin/ed/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ed/main.c b/bin/ed/main.c index c0f93138dac..c678d8f7c1e 100644 --- a/bin/ed/main.c +++ b/bin/ed/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.45 2015/07/14 19:16:33 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.46 2015/07/28 17:46:52 deraadt Exp $ */ /* $NetBSD: main.c,v 1.3 1995/03/21 09:04:44 cgd Exp $ */ /* main.c: This file contains the main control and user-interface routines @@ -1315,7 +1315,7 @@ dup_line_node(line_t *lp) { line_t *np; - if ((np = (line_t *) malloc(sizeof(line_t))) == NULL) { + if ((np = malloc(sizeof(line_t))) == NULL) { perror(NULL); seterrmsg("out of memory"); return NULL; |