diff options
Diffstat (limited to 'editors/sed.c')
-rw-r--r-- | editors/sed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c index 65ca5606b..a16023945 100644 --- a/editors/sed.c +++ b/editors/sed.c | |||
@@ -610,7 +610,7 @@ static int do_subst_command(sed_cmd_t *sed_cmd, char **line) | |||
610 | if (sed_cmd->sub_match == NULL) { | 610 | if (sed_cmd->sub_match == NULL) { |
611 | current_regex = bbg.previous_regex_ptr; | 611 | current_regex = bbg.previous_regex_ptr; |
612 | if (!current_regex) | 612 | if (!current_regex) |
613 | bb_error_msg_and_die("No previous regexp."); | 613 | bb_error_msg_and_die("no previous regexp"); |
614 | } else | 614 | } else |
615 | bbg.previous_regex_ptr = current_regex = sed_cmd->sub_match; | 615 | bbg.previous_regex_ptr = current_regex = sed_cmd->sub_match; |
616 | 616 | ||