diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2022-05-05 16:15:23 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2022-05-06 14:29:53 +0100 |
commit | 88616693b6523d1f51e3d6e8705bd9f9b9d2fdef (patch) | |
tree | d4d27280c576792d065c7d1475b977f76d27a644 /devices/gdevsppr.c | |
parent | 29c40f0c09e9610a37aca19c2e23081ab4fba7ce (diff) | |
download | ghostpdl-88616693b6523d1f51e3d6e8705bd9f9b9d2fdef.tar.gz |
Remove last instance of gs_sprintf being called
Diffstat (limited to 'devices/gdevsppr.c')
-rw-r--r-- | devices/gdevsppr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devices/gdevsppr.c b/devices/gdevsppr.c index 29d34dd9d..2806253d0 100644 --- a/devices/gdevsppr.c +++ b/devices/gdevsppr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2021 Artifex Software, Inc. +/* Copyright (C) 2001-2022 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or @@ -101,7 +101,7 @@ err_code_string(int err_code) { if ((err_code<EMOTOR)||(err_code>ESERIAL)) { - gs_sprintf(err_buffer,"err_code out of range: %d",err_code); + gs_snprintf(err_buffer, 80, "err_code out of range: %d",err_code); return err_buffer; } return errmsg[err_code]; |