summaryrefslogtreecommitdiffstats
path: root/screenshot.c
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-02-19 16:43:58 +0100
committerwm4 <wm4@mplayer2.org>2012-02-19 16:43:58 +0100
commit7822eca9ace01ff933d35382c345d322bdf2eb57 (patch)
tree5d9b2c9f5527e45f130fbda50293216003adaf3e /screenshot.c
parentf440a244e39fd80fc8d83bf4407cc1a150b0506e (diff)
downloadmpv-7822eca9ace01ff933d35382c345d322bdf2eb57.tar.bz2
mpv-7822eca9ace01ff933d35382c345d322bdf2eb57.tar.xz
screenshot: fix error message
This happens with JPG screenshots as well.
Diffstat (limited to 'screenshot.c')
-rw-r--r--screenshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screenshot.c b/screenshot.c
index 5844f00ab6..693aba4a9f 100644
--- a/screenshot.c
+++ b/screenshot.c
@@ -81,7 +81,7 @@ static screenshot_ctx *screenshot_get_ctx(MPContext *mpctx)
static FILE *open_file(screenshot_ctx *ctx, char *fname) {
FILE *fp = fopen(fname, "wb");
if (fp == NULL)
- mp_msg(MSGT_CPLAYER, MSGL_ERR, "\nPNG Error opening %s for writing!\n",
+ mp_msg(MSGT_CPLAYER, MSGL_ERR, "\nError opening %s for writing!\n",
fname);
return fp;
}