diff options
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index afa4bc2fd5..55dd63be78 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -3956,7 +3956,7 @@ static WERROR get_a_printer_2_default(NT_PRINTER_INFO_LEVEL_2 *info, const char DEBUG(10,("get_a_printer_2_default: driver name set to [%s]\n", info->drivername)); - pstrcpy(info->comment, ""); + strlcpy(info->comment, "", sizeof(info->comment)); fstrcpy(info->printprocessor, "winprint"); fstrcpy(info->datatype, "RAW"); |