Fix printf formats so they work on the Alpha.

This commit is contained in:
thorpej 1998-02-04 20:10:16 +00:00
parent 6efeed277f
commit a40a144d00
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: jobs.c,v 1.23 1997/10/08 20:31:52 christos Exp $ */
/* $NetBSD: jobs.c,v 1.24 1998/02/04 20:10:16 thorpej Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)jobs.c 8.5 (Berkeley) 5/4/95";
#else
__RCSID("$NetBSD: jobs.c,v 1.23 1997/10/08 20:31:52 christos Exp $");
__RCSID("$NetBSD: jobs.c,v 1.24 1998/02/04 20:10:16 thorpej Exp $");
#endif
#endif /* not lint */
@ -810,7 +810,7 @@ dowait(block, job)
outfmt(out2, "%d: ", pid);
#if JOBS
if (sig == SIGTSTP && rootshell && iflag)
outfmt(out2, "%%%d ", job - jobtab + 1);
outfmt(out2, "%%%ld ", job - jobtab + 1);
#endif
if (sig < NSIG && sys_siglist[sig])
out2str(sys_siglist[sig]);

View File

@ -1,4 +1,4 @@
/* $NetBSD: miscbltin.c,v 1.23 1998/01/21 10:47:39 christos Exp $ */
/* $NetBSD: miscbltin.c,v 1.24 1998/02/04 20:10:17 thorpej Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)miscbltin.c 8.4 (Berkeley) 5/4/95";
#else
__RCSID("$NetBSD: miscbltin.c,v 1.23 1998/01/21 10:47:39 christos Exp $");
__RCSID("$NetBSD: miscbltin.c,v 1.24 1998/02/04 20:10:17 thorpej Exp $");
#endif
#endif /* not lint */
@ -366,7 +366,7 @@ ulimitcmd(argc, argv)
{
val /= l->factor;
#ifdef BSD4_4
out1fmt("%qd\n", (quad_t) val);
out1fmt("%qd\n", (long long) val);
#else
out1fmt("%ld\n", (long) val);
#endif
@ -395,7 +395,7 @@ ulimitcmd(argc, argv)
{
val /= l->factor;
#ifdef BSD4_4
out1fmt("%qd\n", (quad_t) val);
out1fmt("%qd\n", (long long) val);
#else
out1fmt("%ld\n", (long) val);
#endif