diff options
-rw-r--r-- | editors/patch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/patch.c b/editors/patch.c index 988021d77..4ee9339a7 100644 --- a/editors/patch.c +++ b/editors/patch.c | |||
@@ -295,7 +295,7 @@ static int apply_one_hunk(void) | |||
295 | // recheck remaining buffered data for a new match. | 295 | // recheck remaining buffered data for a new match. |
296 | 296 | ||
297 | if (PATCH_DEBUG) | 297 | if (PATCH_DEBUG) |
298 | fdprintf(2, "NOT: %s\n", plist->data); | 298 | fdprintf(2, "NOT: %s\n", plist ? plist->data : "EOF"); |
299 | 299 | ||
300 | TT.state = 3; | 300 | TT.state = 3; |
301 | check = buf; | 301 | check = buf; |