diff --git a/editors/sed.c b/editors/sed.c index 6dbb1fb8f..f297db83b 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -1160,7 +1160,7 @@ extern int sed_main(int argc, char **argv) else { char *str_cmd = strdup(argv[optind]); - add_cmd_str(strd_cmd); + add_cmd_str(str_cmd); free(str_cmd); optind++; }