diff options
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg_settings.c')
-rw-r--r-- | apps/plugins/mpegplayer/mpeg_settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_settings.c b/apps/plugins/mpegplayer/mpeg_settings.c index 7ec1157615..a9b66fc22f 100644 --- a/apps/plugins/mpegplayer/mpeg_settings.c +++ b/apps/plugins/mpegplayer/mpeg_settings.c | |||
@@ -344,7 +344,7 @@ static void backlight_brightness_formatter(char *buf, size_t length, | |||
344 | int value, const char *input) | 344 | int value, const char *input) |
345 | { | 345 | { |
346 | if (value < 0) | 346 | if (value < 0) |
347 | rb->strncpy(buf, BACKLIGHT_OPTION_DEFAULT, length); | 347 | rb->strlcpy(buf, BACKLIGHT_OPTION_DEFAULT, length); |
348 | else | 348 | else |
349 | rb->snprintf(buf, length, "%d", value + MIN_BRIGHTNESS_SETTING); | 349 | rb->snprintf(buf, length, "%d", value + MIN_BRIGHTNESS_SETTING); |
350 | 350 | ||