summaryrefslogtreecommitdiff
path: root/backend/lpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/lpd.c')
-rw-r--r--backend/lpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/lpd.c b/backend/lpd.c
index efc7a9acc..c4aab8b98 100644
--- a/backend/lpd.c
+++ b/backend/lpd.c
@@ -1046,7 +1046,7 @@ lpd_queue(const char *hostname, /* I - Host to connect to */
* Send the control file...
*/
- if (lpd_command(fd, "\002%d cfA%03.3d%.15s\n", (int)strlen(control),
+ if (lpd_command(fd, "\002%d cfA%03d%.15s\n", (int)strlen(control),
(int)getpid() % 1000, localhost))
{
close(fd);
@@ -1096,7 +1096,7 @@ lpd_queue(const char *hostname, /* I - Host to connect to */
* Send the print file...
*/
- if (lpd_command(fd, "\003" CUPS_LLFMT " dfA%03.3d%.15s\n",
+ if (lpd_command(fd, "\003" CUPS_LLFMT " dfA%03d%.15s\n",
CUPS_LLCAST filestats.st_size, (int)getpid() % 1000,
localhost))
{
@@ -1179,7 +1179,7 @@ lpd_queue(const char *hostname, /* I - Host to connect to */
* Send control file...
*/
- if (lpd_command(fd, "\002%d cfA%03.3d%.15s\n", (int)strlen(control),
+ if (lpd_command(fd, "\002%d cfA%03d%.15s\n", (int)strlen(control),
(int)getpid() % 1000, localhost))
{
close(fd);