mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Fix %d and others printing
Reviewed by: davidg Submitted by: Bill Fenner <fenner@parc.xerox.com>
This commit is contained in:
parent
80e63506ac
commit
70659b24a8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8717
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
|||
|
||||
#ifndef lint
|
||||
static char *moduleid =
|
||||
"@(#)$Id: softmagic.c,v 1.26 1994/06/06 05:27:29 christos Exp $";
|
||||
"@(#)$Id: softmagic.c,v 1.1.1.1 1994/09/03 19:16:22 csgr Exp $";
|
||||
#endif /* lint */
|
||||
|
||||
static int match __P((unsigned char *, int));
|
||||
|
@ -216,7 +216,7 @@ struct magic *m;
|
|||
}
|
||||
|
||||
v = signextend(m, v) & m->mask;
|
||||
(void) printf(m->desc, (unsigned char) v);
|
||||
(void) printf(m->desc, v);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue