diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-04-04 00:51:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-04-04 00:51:11 +0000 |
commit | 86c302ae8c0a248d1872a59718a7accede5374c9 (patch) | |
tree | 35f363a5e4a97c9f44dbc61c9382f68b1a9104be /usr.bin/sectok | |
parent | 01a6a80c56b9de25cbe0f91a4b37712d07756a00 (diff) |
adapt to new sectok_fmt_fid API
Diffstat (limited to 'usr.bin/sectok')
-rw-r--r-- | usr.bin/sectok/cyberflex.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/sectok/cyberflex.c b/usr.bin/sectok/cyberflex.c index 5522cdb79e6..3503ba65de2 100644 --- a/usr.bin/sectok/cyberflex.c +++ b/usr.bin/sectok/cyberflex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cyberflex.c,v 1.23 2002/06/17 07:10:52 deraadt Exp $ */ +/* $OpenBSD: cyberflex.c,v 1.24 2003/04/04 00:51:10 deraadt Exp $ */ /* * copyright 1999, 2000 @@ -418,7 +418,7 @@ ls(int argc, char *argv[]) continue; /* Format name */ - sectok_fmt_fid(fname, &buf[4]); + sectok_fmt_fid(fname, sizeof fname, &buf[4]); /* Format size */ fsize = (buf[2] << 8) | buf[3]; @@ -679,8 +679,8 @@ jload(int argc, char *argv[]) if (!aut0_vfyd) jaut(0, NULL); - sectok_fmt_fid(progname, progID); - sectok_fmt_fid(contname, contID); + sectok_fmt_fid(progname, sizeof progname, progID); + sectok_fmt_fid(contname, sizeof contname, contID); if (vflag) { printf("applet file \"%s\"\n", filename); @@ -869,8 +869,8 @@ junload(int argc, char *argv[]) if (!aut0_vfyd) jaut(0, NULL); - sectok_fmt_fid(progname, progID); - sectok_fmt_fid(contname, contID); + sectok_fmt_fid(progname, sizeof progname, progID); + sectok_fmt_fid(contname, sizeof contname, contID); if (vflag) { printf("program ID %s\n", progname); |