summaryrefslogtreecommitdiff
path: root/editors/patch.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/patch.c')
-rw-r--r--editors/patch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/patch.c b/editors/patch.c
index 1587919bc..e3745ef39 100644
--- a/editors/patch.c
+++ b/editors/patch.c
@@ -31,7 +31,7 @@
31 * - Non-interactive 31 * - Non-interactive
32 * - Patches must apply cleanly or the hunk will fail. 32 * - Patches must apply cleanly or the hunk will fail.
33 * - Reject file isnt saved 33 * - Reject file isnt saved
34 * - 34 * -
35 */ 35 */
36 36
37#include <getopt.h> 37#include <getopt.h>
@@ -55,7 +55,7 @@ static int copy_lines(FILE *src_stream, FILE *dest_stream, const unsigned int li
55 bb_perror_msg_and_die("Error writing to new file"); 55 bb_perror_msg_and_die("Error writing to new file");
56 } 56 }
57 free(line); 57 free(line);
58 58
59 i++; 59 i++;
60 } 60 }
61 return(i); 61 return(i);
@@ -282,7 +282,7 @@ extern int patch_main(int argc, char **argv)
282 } 282 }
283 } 283 }
284 284
285 /* 0 = SUCCESS 285 /* 0 = SUCCESS
286 * 1 = Some hunks failed 286 * 1 = Some hunks failed
287 * 2 = More serious problems 287 * 2 = More serious problems
288 */ 288 */