Symbol: sprintf
bin/expr/expr.y
197
sprintf (tmp, "%lld", (long long)vp->u.i);
bin/ps/fmt.c
116
sprintf(cp, "(%.*s)", maxlen, cmd);
bin/ps/fmt.c
118
sprintf(cp, "%s (%.*s)", ap, maxlen, cmd);
bin/ps/print.c
251
sprintf(cp, "%d", KI_LWP(k, cpuid));
bin/sh/histedit.c
313
sprintf(editfilestr, "%s/_shXXXXXX", _PATH_TMP);
bin/sh/histedit.c
379
sprintf(editcmd, "%s %s", editor, editfile);
bin/sh/mknodes.c
181
sprintf(decl, "union node *%s", name);
bin/sh/mknodes.c
184
sprintf(decl, "struct nodelist *%s", name);
bin/sh/mknodes.c
187
sprintf(decl, "char *%s", name);
bin/sh/mknodes.c
190
sprintf(decl, "int %s", name);
bin/sh/mksyntax.c
141
sprintf(buf, "#define %s %d", synclass[i].name, i);
bin/sh/mksyntax.c
150
sprintf(buf, "#define %s %#o", is_entry[i].name, 1 << i);
games/atc/input.c
232
sprintf(T_STR, st[T_STATE].rule[ruleno].str, tval);
games/atc/log.c
88
sprintf(s, "%dd+%02dhrs", DAY(t), HOUR(t));
games/atc/log.c
90
sprintf(s, "%d:%02d:%02d", HOUR(t), MIN(t), SEC(t));
games/atc/log.c
92
sprintf(s, "%d:%02d", MIN(t), SEC(t));
games/atc/log.c
94
sprintf(s, ":%02d", SEC(t));
games/atc/update.c
197
sprintf(buf, "collided with plane '%c'.",
games/atc/update.c
219
sprintf(bp, "%c%d%c%c%d: ", name(pp), pp->altitude,
games/atc/update.c
225
sprintf(bp, "Holding @ A%d", pp->orig_no);
games/atc/update.c
229
sprintf(bp, "%d", dir_deg(pp->new_dir));
games/atc/update.c
233
sprintf(bp, " @ B%d", pp->delayd_no);
games/cribbage/score.c
152
sprintf(buf, "%d points in fifteens", i);
games/cribbage/score.c
161
sprintf(buf, ", %d points in pairs, %d in runs",
games/cribbage/support.c
130
sprintf(prompt, "Your %s scores ", s);
games/larn/bill.c
122
sprintf(fname, "/tmp/#%dlarnmail", getpid());
games/larn/bill.c
128
sprintf(buf, "\n%ld gold pieces back with you from your journey. As the",
games/larn/bill.c
132
sprintf(buf, "\nin preparing your tax bill. You owe %ld gold pieces as", (long)c[GOLD]*TAXRATE);
games/larn/bill.c
141
sprintf(buf, "/usr/sbin/sendmail %s < %s > /dev/null",
games/larn/main.c
105
sprintf(optsfile, "%s/.larnopts", ptr); /* the .larnopts filename */
games/larn/scores.c
631
sprintf(logg.what, "killed by %s %s", mod, monster[x].name);
games/larn/scores.c
633
sprintf(logg.what, "%s", whydead[x - 256]);
games/larn/scores.c
757
sprintf(name, "%s\n", nam); /* append a \n to name */
games/larn/signal.c
221
sprintf(buf, "\nLarn - Panic! Signal %d received [%s]", sig, signame[sig]);
games/mille/save.c
166
sprintf(Initstr, "%s [%s]\n", file, buf);
games/phantasia/main.c
677
sprintf(Databuf, "The present ruler is %s Level:%.0f",
games/phantasia/main.c
692
sprintf(Databuf, "The Valar is %s Login: %s",
games/phantasia/main.c
710
sprintf(Databuf, "%s Login: %s", Other.p_name, Other.p_login);
games/phantasia/main.c
739
sprintf(Databuf, "%s Level:%.0f and %s Level:%.0f",
games/phantasia/misc.c
139
sprintf(Databuf, "%.29s", label);
games/phantasia/misc.c
141
sprintf(Databuf, " is in %s (%.0f,%.0f)", label, playerp->p_x, playerp->p_y);
games/rogue/hit.c
211
sprintf(new_damage, "%dd%d", t_hit, damage);
games/rogue/hit.c
299
sprintf(hit_message+strlen(hit_message), "defeated the %s", mn);
games/rogue/hit.c
84
sprintf(hit_message + strlen(hit_message), "the %s misses", mn);
games/rogue/hit.c
91
sprintf(hit_message + strlen(hit_message), "the %s hit", mn);
games/rogue/inventory.c
397
sprintf(buf, "run %s %s", com_id_tab[n].com_desc + 8, until);
games/rogue/inventory.c
455
sprintf(desc, "%d pieces of gold", obj->quantity);
games/rogue/inventory.c
463
sprintf(desc, "%d ", obj->quantity);
games/rogue/inventory.c
469
sprintf(desc, "%d rations of ", obj->quantity);
games/rogue/inventory.c
550
sprintf(more_info, "%s%d ", ((obj->class > 0) ? "+" : ""),
games/rogue/inventory.c
562
sprintf(more_info, "[%d]", obj->class);
games/rogue/inventory.c
567
sprintf(desc, "%s%d ", ((obj->d_enchant >= 0) ? "+" : ""),
games/rogue/inventory.c
570
sprintf(more_info, "[%d] ", get_armor_class(obj));
games/rogue/inventory.c
574
sprintf(desc+strlen(desc), "%s%d,%s%d ",
games/rogue/inventory.c
769
sprintf(buf, "'%c': %s", ch, id);
games/rogue/level.c
827
sprintf(mbuf, "welcome to level %d", i);
games/rogue/level.c
879
sprintf(mbuf, "R-Hp: %.2f, E-Hp: %.2f (!: %d, V: %d)", real_average,
games/rogue/message.c
232
sprintf(buf, "%d", cur_level);
games/rogue/message.c
243
sprintf(buf, "%ld", rogue.gold);
games/rogue/message.c
255
sprintf(buf, "%d(%d)", rogue.hp_current, rogue.hp_max);
games/rogue/message.c
267
sprintf(buf, "%d(%d)", (rogue.str_current + add_strength),
games/rogue/message.c
279
sprintf(buf, "%d", get_armor_class(rogue.armor));
games/rogue/message.c
293
sprintf(buf, "%d/%ld", rogue.exp, rogue.exp_points);
games/rogue/pack.c
405
sprintf(desc, "you can't wield %s",
games/rogue/ring.c
245
sprintf(buf, "ste %hi, r_r %hi, e_r %hi, r_t %d, s_s %d"
games/rogue/score.c
101
sprintf(buf+strlen(buf), "%ld gold", rogue.gold);
games/rogue/score.c
340
sprintf(buf, "%2d %6ld %s: ", rank+1, rogue.gold, login_name);
games/rogue/score.c
372
sprintf(buf+strlen(buf), " on level %d ", max_level);
games/rogue/score.c
413
sprintf(buf, "%5d ", val);
games/rogue/spec_hit.c
364
sprintf(msg, "wait, that's a %s!", mon_name(monster));
games/rogue/spec_hit.c
402
sprintf(msg, "the %s's bite has weakened you",
games/rogue/spec_hit.c
473
sprintf(msg, "the gaze of the %s has confused you", mon_name(monster));
games/rogue/throw.c
140
sprintf(hit_message, "the %s", name_of(weapon));
games/rogue/throw.c
247
sprintf(msg, "the %svanishes as it hits the ground",
games/rogue/use.c
168
sprintf(buf, "hmm, this potion tastes like %sjuice", fruit);
games/rogue/use.c
215
sprintf(msg, "your %sglow%s %sfor a moment",
games/rogue/use.c
233
sprintf(msg, "your armor glows %sfor a moment",
games/rogue/use.c
283
sprintf(msg, "your hands glow %sfor a moment", get_ench_color());
games/rogue/use.c
418
sprintf(buf, "my, that was a yummy %s", fruit);
games/rogue/use.c
617
sprintf(msg, "you feel less %s now", (halluc ? "trippy" : "confused"));
games/rogue/zap.c
291
sprintf(buf, "the %s bounces", s);
games/rogue/zap.c
329
sprintf(buf, "the %s misses the %s", s, mon_name(monster));
games/rogue/zap.c
345
sprintf(buf, "the %s hits the %s", s, mon_name(monster));
games/rogue/zap.c
362
sprintf(buf, "the %s hits the %s", s, mon_name(monster));
games/rogue/zap.c
369
sprintf(buf, "the %s misses", s);
games/rogue/zap.c
378
sprintf(buf, "the %s hits", s);
include/stdio.h
253
int sprintf(char * __restrict, const char * __restrict, ...)
lib/libalias/alias_ftp.c
515
sprintf(stemp, "PORT %d,%d,%d,%d,%d,%d\r\n",
lib/libalias/alias_ftp.c
519
sprintf(stemp,
lib/libalias/alias_ftp.c
526
sprintf(stemp, "EPRT |1|%d.%d.%d.%d|%d|\r\n",
lib/libalias/alias_ftp.c
531
sprintf(stemp, "229 Entering Extended Passive Mode (|||%d|)\r\n",
lib/libalias/alias_smedia.c
263
sprintf(stemp, "%d", ntohs(salias));
lib/libalias/alias_smedia.c
272
sprintf(stemp, "%d", ntohs(ealias));
lib/libbluetooth/bluetooth.c
281
sprintf(str, "%2.2x:%2.2x:%2.2x:%2.2x:%2.2x:%2.2x",
lib/libc/db/test/hash.tests/driver2.c
73
sprintf(buf, "dbopen: failed on file bigtest");
lib/libc/db/test/hash.tests/driver2.c
87
sprintf(keybuf, "Key #%d", i);
lib/libc/db/test/hash.tests/driver2.c
88
sprintf(contentbuf, "Contents #%d", i);
lib/libc/db/test/hash.tests/driver2.c
90
sprintf(buf, "dbm_store #%d", i);
lib/libc/gen/fstab.c
296
sprintf(num, "%d: ", LineNo);
lib/libc/gen/getttyent.c
84
sprintf(devpts_name, "pts/%d", curpts++);
lib/libc/gmon/gmon.c
163
len = sprintf(buf, "[mcleanup1] kcount 0x%p ssiz %lu\n",
lib/libc/gmon/gmon.c
186
len = sprintf(buf,
lib/libc/inet/inet_cidr_ntop.c
134
dst += sprintf(dst, "/%u", bits);
lib/libc/inet/inet_cidr_ntop.c
232
tp += sprintf(tp, "%x", words[i]);
lib/libc/inet/inet_cidr_ntop.c
242
tp += sprintf(tp, "/%u", bits);
lib/libc/inet/inet_cidr_ntop.c
77
dst += sprintf(dst, "%u", *src++);
lib/libc/inet/inet_net_ntop.c
102
dst += sprintf(dst, "%u", *src++);
lib/libc/inet/inet_net_ntop.c
119
dst += sprintf(dst, "%u", *src & m);
lib/libc/inet/inet_net_ntop.c
126
dst += sprintf(dst, "/%u", bits);
lib/libc/inet/inet_net_ntop.c
235
cp += sprintf(cp, "%u", *s++);
lib/libc/inet/inet_net_ntop.c
239
cp += sprintf(cp, "%u", *s++);
lib/libc/inet/inet_net_ntop.c
244
cp += sprintf(cp, "%x", *s * 256 + s[1]);
lib/libc/inet/inet_net_ntop.c
250
sprintf(cp, "/%u", bits);
lib/libc/inet/inet_neta.c
58
dst += sprintf(dst, "%u", b);
lib/libc/inet/inet_ntop.c
175
tp += sprintf(tp, "%x", words[i]);
lib/libc/nameser/ns_name.c
37
# define SPRINTF(x) strlen(sprintf/**/x)
lib/libc/nameser/ns_name.c
39
# define SPRINTF(x) ((size_t)sprintf x)
lib/libc/nameser/ns_print.c
46
# define SPRINTF(x) strlen(sprintf/**/x)
lib/libc/nameser/ns_print.c
48
# define SPRINTF(x) ((size_t)sprintf x)
lib/libc/nameser/ns_print.c
656
sprintf(buf, "%d", ns_get16(rdata));
lib/libc/nameser/ns_ttl.c
34
# define SPRINTF(x) strlen(sprintf/**/x)
lib/libc/nameser/ns_ttl.c
36
# define SPRINTF(x) ((size_t)sprintf x)
lib/libc/net/ether_addr.c
123
i = sprintf(a, "%02x:%02x:%02x:%02x:%02x:%02x", n->octet[0],
lib/libc/net/gethostbydns.c
588
sprintf(qbuf, "%u.%u.%u.%u.in-addr.arpa",
lib/libc/net/gethostbydns.c
78
#define SPRINTF(x) ((size_t)sprintf x)
lib/libc/net/getnetbydns.c
310
sprintf(qbuf, "0.0.0.%u.in-addr.arpa", netbr[3]);
lib/libc/net/getnetbydns.c
313
sprintf(qbuf, "0.0.%u.%u.in-addr.arpa", netbr[3], netbr[2]);
lib/libc/net/getnetbydns.c
316
sprintf(qbuf, "0.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2],
lib/libc/net/getnetbydns.c
320
sprintf(qbuf, "%u.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2],
lib/libc/net/getnetbynis.c
221
sprintf(buf, "%u", netbr[3]);
lib/libc/net/getnetbynis.c
224
sprintf(buf, "%u.%u", netbr[2], netbr[3]);
lib/libc/net/getnetbynis.c
227
sprintf(buf, "%u.%u.%u", netbr[1], netbr[2], netbr[3]);
lib/libc/net/getnetbynis.c
230
sprintf(buf, "%u.%u.%u.%u", netbr[0], netbr[1],
lib/libc/resolv/res_debug.c
1026
(void) sprintf(ascii, "; error: unknown LOC RR version");
lib/libc/resolv/res_debug.c
1085
sprintf(ascii,
lib/libc/resolv/res_debug.c
1148
sprintf(output, "%04d%02d%02d%02d%02d%02d",
lib/libc/resolv/res_debug.c
121
# define SPRINTF(x) strlen(sprintf/**/x)
lib/libc/resolv/res_debug.c
123
# define SPRINTF(x) sprintf x
lib/libc/resolv/res_debug.c
558
sprintf(unname, "%d", number); /*%< XXX nonreentrant */
lib/libc/resolv/res_debug.c
575
sprintf(unname, "%d", number); /*%< XXX nonreentrant */
lib/libc/resolv/res_debug.c
595
sprintf(typebuf, "TYPE%d", type);
lib/libc/resolv/res_debug.c
631
sprintf(classbuf, "CLASS%d", class);
lib/libc/resolv/res_debug.c
674
default: sprintf(nbuf, "?0x%lx?", (u_long)option);
lib/libc/resolv/res_debug.c
687
sprintf(nbuf, "%u", value);
lib/libc/resolv/res_debug.c
716
sprintf(ret, "[af%d]", u.sin.sin_family);
lib/libc/resolv/res_debug.c
748
(void) sprintf(retbuf, "%lu.%.2lu", val/100, val%100);
lib/libc/resolv/res_init.c
382
sprintf(sbuf, "%u", NAMESERVER_PORT);
lib/libc/resolv/res_mkupdate.c
1167
(void) sprintf(number, "%d", num);
lib/libc/resolv/res_mkupdate.c
1182
(void) sprintf(number, "%d", port);
lib/libc/resolv/res_query.c
393
sprintf(nbuf, "%s.%s", name, domain);
lib/libc/rpc/auth_time.c
321
sprintf(ipuaddr, "%d.%d.%d.%d.0.111", a1, a2, a3, a4);
lib/libc/rpc/auth_time.c
377
sprintf(ut, "%d.%d.%d.%d.0.37", a1, a2, a3, a4);
lib/libc/rpc/netname.c
113
sprintf(netname, "%s.%ld@%s", OPSYS, (u_long)uid, domain);
lib/libc/rpc/netname.c
140
sprintf(netname, "%s.%s@%s", OPSYS, host, domain);
lib/libc/stdio/xprintf_errno.c
66
sprintf(buf, "errno=%d/0x%x", error, error);
lib/libc/stdio/xprintf_hexdump.c
70
q += sprintf(q, " %04x", a);
lib/libc/stdio/xprintf_hexdump.c
72
q += sprintf(q, " %02x", p[j]);
lib/libc/stdio/xprintf_hexdump.c
75
q += sprintf(q, " ");
lib/libc/stdio/xprintf_hexdump.c
76
q += sprintf(q, " |");
lib/libc/stdio/xprintf_quote.c
88
sprintf(r, "\\%03o", *p);
lib/libc/stdio/xprintf_time.c
103
p += sprintf(p, "%jdm", t / MINUTE);
lib/libc/stdio/xprintf_time.c
107
p += sprintf(p, "%jds", t);
lib/libc/stdio/xprintf_time.c
109
p += sprintf(p, "%jd", (intmax_t)t);
lib/libc/stdio/xprintf_time.c
116
p += sprintf(p, ".%.*d", prec, nsec);
lib/libc/stdio/xprintf_time.c
91
p += sprintf(p, "%jdy", t / YEAR);
lib/libc/stdio/xprintf_time.c
95
p += sprintf(p, "%jdd", t / DAY);
lib/libc/stdio/xprintf_time.c
99
p += sprintf(p, "%jdh", t / HOUR);
lib/libc/sysvipc/utils.c
46
sprintf(format, "[%d %d] %s", getpid(), lwp_gettid(), fmt);
lib/libc/sysvipc/utils.c
65
sprintf(format, "[%d %d] error(%d): %s",
lib/libcam/camlib.c
133
sprintf(cam_errbuf, "%s: device pathname was NULL", func_name);
lib/libcam/camlib.c
159
sprintf(cam_errbuf, "%s: no text after slash", func_name);
lib/libcam/camlib.c
172
sprintf(cam_errbuf, "%s: no text after leading 'n'", func_name);
lib/libcam/camlib.c
184
sprintf(cam_errbuf, "%s: no text after leading 'r'", func_name);
lib/libcam/camlib.c
225
sprintf(cam_errbuf,
lib/libcam/camlib.c
237
sprintf(cam_errbuf,
lib/libcam/camlib.c
250
sprintf(cam_errbuf, "%s: unable to find device unit number",
lib/libcam/camlib.c
380
sprintf(match_pat->periph_name, "pass");
lib/libcam/camlib.c
389
sprintf(cam_errbuf, "%s: CAMIOCOMMAND ioctl failed\n"
lib/libcam/camlib.c
400
sprintf(cam_errbuf, "%s: CAM error %#x, CDM error %d "
lib/libcam/camlib.c
407
sprintf(cam_errbuf, "%s: CDM reported more than one"
lib/libcam/camlib.c
414
sprintf(cam_errbuf, "%s: no passthrough device found at"
lib/libcam/camlib.c
431
sprintf(dev_path, "/dev/pass%d", pass_unit);
lib/libcam/camlib.c
437
sprintf(cam_errbuf, "%s: asked for a peripheral match, but"
lib/libcam/camlib.c
529
sprintf(cam_errbuf, "%s: device %s%d does not exist!",
lib/libcam/camlib.c
534
sprintf(dev_path, "/dev/%s%d", ccb.cgdl.periph_name,
lib/libcam/camlib.c
560
sprintf(cam_errbuf, "%s: device structure malloc"
lib/libcam/camlib.c
618
sprintf(cam_errbuf, "%s: CAMGETPASSTHRU ioctl failed\n"
lib/libcam/camlib.c
630
sprintf(cam_errbuf, "%s: passthrough device does not exist!",
lib/libcam/camlib.c
644
sprintf(cam_errbuf, "%s: Path Inquiry CCB failed\n"
lib/libcam/camlib.c
658
sprintf(cam_errbuf, "%s: Get Device Type CCB failed\n"
lib/libcam/camlib.c
681
sprintf(cam_errbuf, "%s: Get Transfer Settings CCB failed\n"
lib/libcam/camlib.c
761
sprintf(cam_errbuf, "%s: device is NULL", func_name);
lib/libcam/camlib.c
786
sprintf(cam_errbuf, "%s: source device struct was NULL",
lib/libcam/camlib.c
792
sprintf(cam_errbuf, "%s: destination device struct was NULL",
lib/libcompat/4.3/rexec.c
148
(void) sprintf(buf, "%s/.netrc", hdir);
lib/libcompat/4.3/rexec.c
386
(void) sprintf(num, "%u", port);
lib/libcompat/4.3/rexec.c
495
(void) sprintf(num, "%hu", port);
lib/libdevstat/devstat.c
1035
sprintf(devstat_errbuf, "%s: current stats structure was NULL",
lib/libdevstat/devstat.c
1126
sprintf(devstat_errbuf, "%s: current stats structure was NULL",
lib/libdevstat/devstat.c
120
sprintf(devstat_errbuf,"%s: error getting devstat generation\n"
lib/libdevstat/devstat.c
1211
sprintf(devstat_errbuf, "%s: current stats structure was NULL",
lib/libdevstat/devstat.c
147
sprintf(devstat_errbuf, "%s: error getting devstat version\n"
lib/libdevstat/devstat.c
243
sprintf(devstat_errbuf, "%s: stats->dinfo was NULL", func_name);
lib/libdevstat/devstat.c
303
sprintf(devstat_errbuf,
lib/libdevstat/devstat.c
310
sprintf(devstat_errbuf,
lib/libdevstat/devstat.c
885
sprintf(devstat_errbuf, "%s: no match expression", __func__);
lib/libdevstat/devstat.c
895
sprintf(devstat_errbuf, "%s: out of memory", __func__);
lib/libdevstat/devstat.c
907
sprintf(devstat_errbuf, "%s: too many type arguments",
lib/libdevstat/devstat.c
92
sprintf(devstat_errbuf, "%s: error getting number of devices\n"
lib/libdevstat/devstat.c
973
sprintf(devstat_errbuf,
lib/libfetch/http.c
1275
sprintf(noncecount, "%08x", c->nc);
lib/libfetch/http.c
1277
sprintf(cnonce, "%x%lx", getpid(), (unsigned long)time(0));
lib/libhammer/snapshot.c
108
sprintf(sip->label, "%s", snapdata->label);
lib/libkvm/kvm_proc.c
926
sprintf(procfile, "/proc/%d/mem", pid);
lib/libtcplay/tcplay.c
1757
sprintf(map, "%s.%d", mapname, j);
lib/libtcplay/tcplay.c
1877
sprintf(dev, "/dev/mapper/%s.%d", mapname, j);
lib/libtcplay/tcplay.c
1929
sprintf(map, "%s.%d", mapname, i);
lib/libtcplay/tcplay.c
403
sprintf(&cipher_chain->dm_key[i*2], "%02x",
lib/libtcplay/tcplay.c
679
sprintf(buf, "%"DISKSZ_FMT" bytes", (blocks * blksz));
lib/libtelnet/auth.c
606
sprintf((char *)tbuf, " %d", *data);
lib/libtelnet/enc_des.c
448
sprintf(lbuf, "%s_IV", type);
lib/libtelnet/enc_des.c
453
sprintf(lbuf, "%s_IV_OK", type);
lib/libtelnet/enc_des.c
458
sprintf(lbuf, "%s_IV_BAD", type);
lib/libtelnet/enc_des.c
463
sprintf(lbuf, " %d (unknown)", data[2]);
lib/libtelnet/enc_des.c
469
sprintf(lbuf, " %d", data[i]);
lib/libtelnet/encrypt.c
921
sprintf(tbuf, " %d", *data);
lib/libtelnet/krb4encpwd.c
247
sprintf(challenge, "%x", now);
lib/libtelnet/krb4encpwd.c
378
sprintf(lbuf, " %d (unknown)", data[3]);
lib/libtelnet/krb4encpwd.c
383
sprintf(lbuf, " %d", data[i]);
lib/libtelnet/rsaencpwd.c
248
sprintf(challenge, "%x", now);
lib/libtelnet/rsaencpwd.c
427
sprintf(lbuf, " %d (unknown)", data[3]);
lib/libtelnet/rsaencpwd.c
432
sprintf(lbuf, " %d", data[i]);
lib/libtelnet/sra.c
265
sprintf(uprompt, "User (%s): ", UserNameRequested);
lib/libu4bhid/usage.c
169
sprintf(b, "0x%04x", i);
lib/libu4bhid/usage.c
189
sprintf(b,
lib/libu4bhid/usage.c
198
sprintf(b, "0x%04x", i);
lib/libutil/gr_util.c
417
p += sprintf(p, group_line_format, gr->gr_name, gr->gr_passwd,
lib/libutil/login_class.c
102
sprintf(name_cur, "%s-cur", lr->what);
lib/libutil/login_class.c
103
sprintf(name_max, "%s-max", lr->what);
lib/libutil/uucplock.c
203
len = sprintf (buf, "%10d\n", (int)pid);
libexec/bootpd/hwaddr.c
228
sprintf(bufptr, "%02X:", (unsigned) (*haddr++ & 0xFF));
libexec/comsat/comsat.c
131
sprintf(buf, "%s/%.*s", _PATH_MAILDIR, (int)sizeof(utp->ut_user),
libexec/comsat/comsat.c
134
sprintf(buf2, "%s/%.*s", _PATH_MAILDIR,
libexec/ftpd/ftpd.c
3066
sprintf(cp, "%d", count);
libexec/pppoed/pppoed.c
133
sprintf(epath, "%s:", iface);
libexec/pppoed/pppoed.c
667
sprintf(ptr, "%02x", (u_char)response[f]);
libexec/revnetgroup/parse_netgroup.c
290
sprintf(line, "%s %s", group, data);
libexec/rpc.rquotad/rquotad.c
286
sprintf(usrname, "%s%s", qfextension[USRQUOTA], QUOTAFILENAME);
libexec/rpc.rquotad/rquotad.c
302
sprintf(buf, "%s/%s.%s", fs->fs_file, QUOTAFILENAME, qfextension[USRQUOTA]);
libexec/rpc.rusersd/rusers_proc.c
133
sprintf(ttyname, "%s/%s", _PATH_DEV, tty);
libexec/telnetd/slc.c
151
(void) sprintf((char *)slcbuf, "%c%c%c%c",
libexec/telnetd/slc.c
190
(void) sprintf((char *)slcptr, "%c%c", IAC, SE);
libexec/telnetd/utility.c
713
sprintf(tbuf, "%s%s%s%s%s",
sbin/camcontrol/camcontrol.c
3935
sprintf(combinedopt, "%s%s", mainopt, subopt);
sbin/camcontrol/camcontrol.c
3937
sprintf(combinedopt, "%s", mainopt);
sbin/camcontrol/camcontrol.c
468
sprintf(tmpstr, "<%s %s %s>", vendor, product,
sbin/camcontrol/modeedit.c
758
sprintf(commandline, "%s %s", editor, edit_path);
sbin/disklabel32/disklabel.c
562
sprintf(boot0, "%s/boot1", _PATH_BOOTDIR);
sbin/disklabel32/disklabel.c
567
sprintf(boot1, "%s/boot2", _PATH_BOOTDIR);
sbin/fsck/inode.c
177
sprintf(buf, "PARTIALLY TRUNCATED INODE I=%lu",
sbin/fsdb/fsdbutil.c
205
j = sprintf(tempbuf, "%d", blkno);
sbin/fsid/fsid.c
73
sprintf(full_path, "/dev/%s", dev);
sbin/fsid/fsid.c
83
sprintf(link_path, "/dev/vol-by-name/%s", volname);
sbin/gpt/gpt.c
753
sprintf(pfx, "%s %s", prg, cmd);
sbin/gpt/show.c
89
lbawidth = sprintf(lwbuf, "%ju", (uintmax_t)(mediasz / secsz));
sbin/growfs/growfs.c
235
j = sprintf(tmpbuf, " %d%s",
sbin/ifconfig/af_inet6.c
426
p += sprintf(p, "%dd", days);
sbin/ifconfig/af_inet6.c
430
p += sprintf(p, "%dh", hours);
sbin/ifconfig/af_inet6.c
434
p += sprintf(p, "%dm", mins);
sbin/ifconfig/af_inet6.c
436
sprintf(p, "%ds", secs);
sbin/ifconfig/af_inet6.c
438
sprintf(result, "%lu", (unsigned long)total);
sbin/ifconfig/ifieee80211.c
3220
sprintf(&buf[2+2*i], "%02x", p[i]);
sbin/init/init.c
1091
sprintf(sp->se_getty, "%s %s", typ->ty_getty, typ->ty_name);
sbin/ip6fw/ip6fw.c
1363
sprintf(linename, "Line %d", lineno);
sbin/ipfw/ipfw2.c
1396
sprintf(qs, "%d KB", l / 1024);
sbin/ipfw/ipfw2.c
1398
sprintf(qs, "%d B", l);
sbin/ipfw/ipfw2.c
1400
sprintf(qs, "%3d sl.", l);
sbin/ipfw/ipfw2.c
1402
sprintf(plr, "plr %f", 1.0 * fs->plr / (double)(0x7fffffff));
sbin/ipfw/ipfw2.c
1406
sprintf(red,
sbin/ipfw/ipfw2.c
1414
sprintf(red, "droptail");
sbin/ipfw/ipfw2.c
1456
sprintf(buf, "unlimited");
sbin/ipfw/ipfw2.c
1458
sprintf(buf, "%7.3f Mbit/s", b/1000000);
sbin/ipfw/ipfw2.c
1460
sprintf(buf, "%7.3f Kbit/s", b/1000);
sbin/ipfw/ipfw2.c
1462
sprintf(buf, "%7.3f bit/s ", b);
sbin/ipfw/ipfw2.c
1464
sprintf(prefix, "%05d: %s %4d ms ",
sbin/ipfw/ipfw2.c
1482
sprintf(prefix, "q%05d: weight %d pipe %d ",
sbin/ipfw3/ipfw3.c
1186
sprintf(linename, "Line %d", lineno);
sbin/ipfw3/ipfw3.c
151
sprintf(module_lib_file, IPFW3_LIB_PATH, token);
sbin/ipfw3/ipfw3dummynet.c
531
sprintf(buf, "unlimited");
sbin/ipfw3/ipfw3dummynet.c
533
sprintf(buf, "%7.3f Mbit/s", b/1000000);
sbin/ipfw3/ipfw3dummynet.c
535
sprintf(buf, "%7.3f Kbit/s", b/1000);
sbin/ipfw3/ipfw3dummynet.c
537
sprintf(buf, "%7.3f bit/s ", b);
sbin/ipfw3/ipfw3dummynet.c
539
sprintf(prefix, "%05d: %s %4d ms ",
sbin/ipfw3/ipfw3dummynet.c
558
sprintf(prefix, "q%05d: weight %d pipe %d ",
sbin/ipfw3/ipfw3dummynet.c
617
sprintf(qs, "%d KB", l / 1024);
sbin/ipfw3/ipfw3dummynet.c
619
sprintf(qs, "%d B", l);
sbin/ipfw3/ipfw3dummynet.c
621
sprintf(qs, "%3d sl.", l);
sbin/ipfw3/ipfw3dummynet.c
623
sprintf(plr, "plr %f", 1.0 * fs->plr / (double)(0x7fffffff));
sbin/ipfw3/ipfw3dummynet.c
627
sprintf(red,
sbin/ipfw3/ipfw3dummynet.c
635
sprintf(red, "droptail");
sbin/iscontrol/auth_subr.c
141
sprintf(encoding, "%.2s", cp);
sbin/iscontrol/misc.c
168
sprintf(ofmt, "%%02%c", encoding[1]);
sbin/iscontrol/misc.c
170
sprintf(ds, ofmt, *cp++);
sbin/mount_ufs/mount_ufs.c
107
sprintf(sysctl_name, "kern.cam.da.%s.trim_enabled", dev_name);
sbin/natacontrol/natacontrol.c
348
sprintf(device, "/dev/%s", arg);
sbin/natd/natd.c
573
sprintf(msgBuf, "failed to write packet back");
sbin/natd/natd.c
637
sprintf(buf, "[TCP] %s:%d -> %s:%d",
sbin/natd/natd.c
646
sprintf(buf, "[UDP] %s:%d -> %s:%d",
sbin/natd/natd.c
655
sprintf(buf, "[ICMP] %s -> %s %u(%u)",
sbin/natd/natd.c
663
sprintf(buf, "[%d] %s -> %s ", ip->ip_p, src, dst);
sbin/newfs/newfs.c
432
sprintf(sysctl_name, "kern.cam.da.%s.trim_enabled",
sbin/newfs_hammer/newfs_hammer.c
510
sprintf(sysctl_name, "kern.cam.da.%s.trim_enabled", p);
sbin/quotacheck/quotacheck.c
495
sprintf(fup->fu_name, "%lu", id);
sbin/restore/dirs.c
144
sprintf(dirfile, "%s/rstdir%ld", tmpdir, (long)dumpdate);
sbin/restore/dirs.c
157
sprintf(modefile, "%s/rstmode%ld", tmpdir, (long)dumpdate);
sbin/restore/dirs.c
581
sprintf(modefile, "%s/rstmode%ld", tmpdir, (long)dumpdate);
sbin/restore/restore.c
79
sprintf(buf, "./%u", ino);
sbin/restore/utilities.c
109
sprintf(name, "%s%ld%lu", TMPHDR, i, (u_long)ep->e_ino);
sbin/route/route.c
381
sprintf(line, "%s", inet_ntoa(in));
sbin/route/route.c
425
sprintf(line, "link#%d", sdl->sdl_index);
sbin/route/route.c
451
char *cps = line + sprintf(line, "(%d)", sa->sa_family);
sbin/route/route.c
517
sprintf(line, "%u", C(in.s_addr >> 24));
sbin/route/route.c
519
sprintf(line, "%u.%u", C(in.s_addr >> 24),
sbin/route/route.c
522
sprintf(line, "%u.%u.%u", C(in.s_addr >> 24),
sbin/route/route.c
525
sprintf(line, "%u.%u.%u.%u", C(in.s_addr >> 24),
sbin/route/route.c
578
char *cps = line + sprintf(line, "af %d:", sa->sa_family);
sbin/routed/parms.c
332
sprintf(ifp->int_name, "%s(%s)", type, gname);
sbin/routed/parms.c
436
sprintf(buf,"bad timestamp %.25s", val0);
sbin/routed/parms.c
444
sprintf(buf,"bad timestamp %.25s", val0);
sbin/routed/parms.c
453
sprintf(buf,"bad timestamp %.25s", val0);
sbin/routed/parms.c
462
sprintf(buf,"bad timestamp %.25s", val0);
sbin/routed/parms.c
515
sprintf(buf,"bad KeyID \"%.20s\"", val0);
sbin/routed/parms.c
520
sprintf(buf,"duplicate KeyID \"%.20s\"", val0);
sbin/routed/parms.c
538
sprintf(buf,"out of order timestamp %.30s",
sbin/routed/parms.c
557
sprintf(buf, "bad \"%.100s\"", estr);
sbin/routed/rtquery/rtquery.c
551
p += sprintf(p,"%o",c);
sbin/routed/rtquery/rtquery.c
629
sprintf(sp," mask=%#x ? ",mask);
sbin/routed/rtquery/rtquery.c
637
sprintf(sp, "/%d",32-i);
sbin/routed/rtquery/rtquery.c
639
sprintf(sp," (mask %#x)", mask);
sbin/routed/rtquery/rtquery.c
719
sprintf(net_buf, "(af %#x) %d.%d.%d.%d",
sbin/routed/table.c
1202
strp += sprintf(strp," from pid %d",m.r.rtm.rtm_pid);
sbin/routed/table.c
1224
strp += sprintf(strp, ": %s",
sbin/routed/table.c
1239
strp += sprintf(strp, " --> %s", naddr_ntoa(gate));
sbin/routed/table.c
1245
strp += sprintf(strp, " by authority of %s",
sbin/routed/table.c
1786
sprintf(label, "Use #%d", (int)(rts - rt->rt_spares));
sbin/routed/trace.c
436
sprintf(sp, "/%d", 32-i);
sbin/routed/trace.c
439
sprintf(sp, " (mask %#x)", (u_int)mask);
sbin/routed/trace.c
569
i = sprintf(buf, "%-16s-->", addrname(dst, mask, 0));
sbin/routed/trace.c
570
sprintf(&buf[i], "%-*s", 15+20-MAX(20,i), naddr_ntoa(gate));
sbin/routed/trace.c
96
p += sprintf(p,"%o",c);
sbin/savecore/savecore.c
386
sprintf(buf, "kern.%d.gz", bounds);
sbin/savecore/savecore.c
389
sprintf(buf, "kern.%d", bounds);
sbin/savecore/savecore.c
419
sprintf(buf, "info.%d", bounds);
sbin/savecore/savecore.c
432
sprintf(buf, "vmcore.%d.gz", bounds);
sbin/savecore/savecore.c
435
sprintf(buf, "vmcore.%d", bounds);
sbin/slattach/slattach.c
378
sprintf(ifr.ifr_name, "sl%d", tmp_unit);
sbin/slattach/slattach.c
416
sprintf (s, "%s %d %d", config_cmd, unit, new_unit);
sbin/slattach/slattach.c
580
sprintf (s, "%s %d -1", config_cmd, unit);
sbin/spppcontrol/spppcontrol.c
250
sprintf(buf, "0x%x", (unsigned)proto);
sbin/startslip/startslip.c
247
sprintf(buf, "LINE=%d %s %s down",
sbin/startslip/startslip.c
435
sprintf(unitname, "sl%d", unitnum);
sbin/startslip/startslip.c
449
sprintf(buf, "LINE=%d %s %s up",
sbin/vinum/commands.c
1024
sprintf(newname, "%s.s%d", plex.name, sdno);
sbin/vinum/commands.c
1025
sprintf(oldname, "%s", sd.name);
sbin/vinum/commands.c
1036
sprintf(newname, "%s.p%d", vol.name, plexno);
sbin/vinum/commands.c
1037
sprintf(oldname, "%s", plex.name);
sbin/vinum/commands.c
1190
sprintf(sdname, "%s.s%d", newname, sdno);
sbin/vinum/commands.c
1209
sprintf(plexname, "%s.p%d", newname, plexno);
sbin/vinum/commands.c
1218
sprintf(sdname, "%s.s%d", plexname, sdno);
sbin/vinum/commands.c
1510
sprintf(objectname, "vinum%d", v); /* create the name */
sbin/vinum/commands.c
1539
sprintf(drivename, "vinumdrive%d", d); /* create the name */
sbin/vinum/commands.c
1543
sprintf(command, "drive %s device %s", drivename, devicename); /* create a create command */
sbin/vinum/commands.c
1598
sprintf(buffer, "volume %s", objectname);
sbin/vinum/commands.c
1616
sprintf(buffer, "plex name %s.p0 org concat", objectname);
sbin/vinum/commands.c
1637
sprintf(buffer, "sd name %s.p0.s%d drive %s size 0", objectname, o, drive->label.name);
sbin/vinum/commands.c
1739
sprintf(buffer, "volume %s", objectname);
sbin/vinum/commands.c
1757
sprintf(buffer, "plex name %s.p0 org striped 256k", objectname);
sbin/vinum/commands.c
1777
sprintf(buffer,
sbin/vinum/commands.c
1887
sprintf(buffer, "volume %s", objectname);
sbin/vinum/commands.c
1905
sprintf(buffer, "plex name %s.p0 org raid4 256k", objectname);
sbin/vinum/commands.c
1925
sprintf(buffer,
sbin/vinum/commands.c
2035
sprintf(buffer, "volume %s", objectname);
sbin/vinum/commands.c
2053
sprintf(buffer, "plex name %s.p0 org raid5 256k", objectname);
sbin/vinum/commands.c
2073
sprintf(buffer,
sbin/vinum/commands.c
2199
sprintf(buffer, "volume %s setupstate", objectname);
sbin/vinum/commands.c
2219
sprintf(buffer, "plex name %s.p%d org striped 256k", objectname, p);
sbin/vinum/commands.c
2223
sprintf(buffer, "plex name %s.p%d org concat", objectname, p);
sbin/vinum/commands.c
2247
sprintf(buffer,
sbin/vinum/commands.c
363
sprintf(filename, VINUM_DIR "/plex/%s", name);
sbin/vinum/commands.c
448
sprintf(filename, VINUM_DIR "/sd/%s", sd.name);
sbin/vinum/commands.c
551
sprintf(enamelist, "%s%s%d", _PATH_DEV, stat->device_name, stat->unit_number);
sbin/vinum/commands.c
88
sprintf(tempfile, "/var/tmp/" VINUMMOD ".create.%d", getpid()); /* create a temp file */
sbin/vinum/commands.c
96
sprintf(commandline, "%s %s", editor, tempfile); /* create an edit command */
sbin/vinum/list.c
1259
sprintf(enamelist, "/dev/%s%d", stat->device_name, stat->unit_number);
sbin/vinum/list.c
1300
sprintf(partid, "s%dc", slice); /* c partition */
sbin/vinum/list.c
1315
sprintf(partid, "s%d%c", slice, partition + 'a');
sbin/vinum/list.c
1331
sprintf(partid, "c"); /* c partition */
sbin/vinum/list.c
1346
sprintf(partid, "%c", partition + 'a');
sbin/vinum/list.c
836
sprintf(&text[19], ".%06ld", time->tv_usec); /* and the microseconds */
sbin/vinum/list.c
88
sprintf(description, lj ? "%lld GB" : "%10lld GB",
sbin/vinum/list.c
91
sprintf(description, lj ? "%lld MB" : "%10lld MB",
sbin/vinum/list.c
94
sprintf(description, lj ? "%lld kB" : "%10lld kB",
sbin/vinum/list.c
97
sprintf(description, lj ? "%lld B" : "%10lld B",
sbin/vinum/v.c
583
sprintf(filename, "ln -s %s " VINUM_DIR "/drive/%s", drive.devicename, drive.label.name);
sbin/vinum/v.c
605
sprintf(filename, VINUM_DIR "/%s", vol.name);
sbin/vinum/v.c
610
sprintf(filename, VINUM_DIR "/vol/%s", vol.name);
sbin/vinum/v.c
616
sprintf(filename, VINUM_DIR "/vol/%s.plex", vol.name);
sbin/vinum/v.c
642
sprintf(filename, VINUM_DIR "/plex/%s", plex.name);
sbin/vinum/v.c
651
sprintf(filename, VINUM_DIR "/vol/%s.plex/%s", vol.name, plex.name);
sbin/vinum/v.c
656
sprintf(filename, VINUM_DIR "/vol/%s.plex/%s.sd", vol.name, plex.name);
sbin/vinum/v.c
681
sprintf(filename, VINUM_DIR "/sd/%s", sd.name);
sbin/vinum/vinumutil.c
107
sprintf(numeric_state, "Invalid org %d", (int) org);
sbin/vinum/vinumutil.c
117
sprintf(numeric_state, "Invalid state %d", (int) state);
sbin/vinum/vinumutil.c
54
sprintf(numeric_state, "Invalid state %d", (int) state);
sbin/vinum/vinumutil.c
65
sprintf(numeric_state, "Invalid state %d", (int) state);
sbin/vinum/vinumutil.c
76
sprintf(numeric_state, "Invalid state %d", (int) state);
share/examples/ses/srcs/eltsub.c
101
sprintf(rbuf, "Current Sensor");
share/examples/ses/srcs/eltsub.c
104
sprintf(rbuf, "SCSI target port");
share/examples/ses/srcs/eltsub.c
107
sprintf(rbuf, "SCSI initiator port");
share/examples/ses/srcs/eltsub.c
110
sprintf(rbuf, "Simple sub-enclosure");
share/examples/ses/srcs/eltsub.c
113
(void) sprintf(rbuf, "<Type 0x%x>", type);
share/examples/ses/srcs/eltsub.c
126
sprintf(rbuf, "status not supported");
share/examples/ses/srcs/eltsub.c
129
sprintf(rbuf, "ok");
share/examples/ses/srcs/eltsub.c
132
sprintf(rbuf, "critical");
share/examples/ses/srcs/eltsub.c
135
sprintf(rbuf, "non-critical");
share/examples/ses/srcs/eltsub.c
138
sprintf(rbuf, "unrecoverable");
share/examples/ses/srcs/eltsub.c
141
sprintf(rbuf, "not installed");
share/examples/ses/srcs/eltsub.c
144
sprintf(rbuf, "unknown status");
share/examples/ses/srcs/eltsub.c
147
sprintf(rbuf, "status not available");
share/examples/ses/srcs/eltsub.c
150
sprintf(rbuf, "unknown status code %x", code & 0xf);
share/examples/ses/srcs/eltsub.c
165
sprintf(ebuf, "Status=%s (bytes=0x%02x 0x%02x 0x%02x 0x%02x)",
share/examples/ses/srcs/eltsub.c
50
sprintf(rbuf, "Unspecified");
share/examples/ses/srcs/eltsub.c
53
sprintf(rbuf, "Device");
share/examples/ses/srcs/eltsub.c
56
sprintf(rbuf, "Power supply");
share/examples/ses/srcs/eltsub.c
59
sprintf(rbuf, "Cooling element");
share/examples/ses/srcs/eltsub.c
62
sprintf(rbuf, "Temperature sensors");
share/examples/ses/srcs/eltsub.c
65
sprintf(rbuf, "Door Lock");
share/examples/ses/srcs/eltsub.c
68
sprintf(rbuf, "Audible alarm");
share/examples/ses/srcs/eltsub.c
71
sprintf(rbuf, "Enclosure services controller electronics");
share/examples/ses/srcs/eltsub.c
74
sprintf(rbuf, "SCC controller electronics");
share/examples/ses/srcs/eltsub.c
77
sprintf(rbuf, "Nonvolatile cache");
share/examples/ses/srcs/eltsub.c
80
sprintf(rbuf, "Uninterruptible power supply");
share/examples/ses/srcs/eltsub.c
83
sprintf(rbuf, "Display");
share/examples/ses/srcs/eltsub.c
86
sprintf(rbuf, "Key pad entry device");
share/examples/ses/srcs/eltsub.c
89
sprintf(rbuf, "SCSI port/transceiver");
share/examples/ses/srcs/eltsub.c
92
sprintf(rbuf, "Language");
share/examples/ses/srcs/eltsub.c
95
sprintf(rbuf, "Communication Port");
share/examples/ses/srcs/eltsub.c
98
sprintf(rbuf, "Voltage Sensor");
stand/boot/common/boot.c
320
sprintf(lbuf, "%s/etc/fstab", rootdev);
stand/boot/common/boot.c
359
sprintf(lbuf, "%s:%s", fstyp, dev);
stand/boot/common/commands.c
425
sprintf(line, "*** FILE %s BEGIN ***\n", argv[i]);
stand/boot/common/commands.c
430
sprintf(line, "*** FILE %s END ***\n", argv[i]);
stand/boot/common/commands.c
495
sprintf(line, "%s devices:\n", devsw[i]->dv_name);
stand/boot/common/commands.c
500
sprintf(line, "%s: (unknown)\n", devsw[i]->dv_name);
stand/boot/common/commands.c
527
sprintf(command_errbuf, "if stack too deep");
stand/boot/common/commands.c
530
sprintf(command_errbuf, "ifexists requires one argument");
stand/boot/common/commands.c
554
sprintf(command_errbuf, "if stack too deep");
stand/boot/common/commands.c
557
sprintf(command_errbuf, "ifset requires one argument");
stand/boot/common/commands.c
581
sprintf(command_errbuf, "elseifexists without if");
stand/boot/common/commands.c
584
sprintf(command_errbuf, "elseifexists requires one argument");
stand/boot/common/commands.c
621
sprintf(command_errbuf, "else without if");
stand/boot/common/commands.c
643
sprintf(command_errbuf, "endif without if");
stand/boot/common/ls.c
105
sprintf(buf, "%s", d->d_name);
stand/boot/common/ls.c
107
sprintf(buf, "%s/%s", path, d->d_name);
stand/boot/common/ls.c
112
sprintf(lbuf, " %c %8d %s\n", typestr[d->d_type],
stand/boot/common/ls.c
115
sprintf(lbuf, " %c %s\n", typestr[d->d_type], d->d_name);
stand/boot/common/misc.c
173
#define emit(fmt, args...) {sprintf(lbuf, fmt , ## args); pager_output(lbuf);}
stand/boot/common/module.c
275
sprintf(lbuf, " %p: %s (%s, 0x%lx)\n",
stand/boot/common/module.c
286
sprintf(lbuf, "%s.%d ", mp->m_name, mp->m_version);
stand/boot/common/module.c
294
sprintf(lbuf, " 0x%04x, 0x%lx\n", md->md_type, (long) md->md_size);
stand/boot/common/module.c
751
sprintf(result, "%s/kernel", name);
stand/boot/common/rel_open.c
138
sprintf(command_errbuf, "Unable to find directory");
stand/boot/common/rel_open.c
164
sprintf(ptr, "%s%s", DirBase, path);
stand/boot/common/rel_open.c
196
sprintf(ptr, "%s%s", DirBase, path);
stand/boot/common/rel_open.c
228
sprintf(abspath, "%s%s", DirBase, path);
stand/boot/common/rel_open.c
235
sprintf(rootpath, "/boot%s", abspath);
stand/boot/common/rel_open.c
56
sprintf(command_errbuf, "usage: cd [<directory>]");
stand/boot/common/rel_open.c
73
sprintf(command_errbuf, "usage: optcd [<directory>]");
stand/boot/dloader/cmds.c
152
sprintf(command_errbuf, "Bad variable syntax");
stand/boot/dloader/cmds.c
199
sprintf(command_errbuf,
stand/boot/dloader/cmds.c
346
sprintf(command_errbuf, "Bad menuitem syntax");
stand/boot/dloader/cmds.c
351
sprintf(command_errbuf, "Bad menuitem syntax");
stand/boot/dloader/cmds.c
372
sprintf(command_errbuf, "Missing menuitem for menuadd");
stand/boot/efi/libefi/efi_console.c
193
sprintf(buf, "%d", args[i]);
stand/boot/efi/libefi/efinet.c
334
sprintf(line, " %s%d:\n", efinet_dev.dv_name, unit);
stand/boot/efi/libefi/efipart.c
161
sprintf(line, " %s%d:", efipart_dev.dv_name, unit);
stand/boot/efi/libefi/efipart.c
166
sprintf(line, " %llu blocks",
stand/boot/efi/loader/arch/x86_64/elf64_freebsd.c
104
sprintf(buf, "0x%016llx", (unsigned long long)rsdp);
stand/boot/efi/loader/arch/x86_64/elf64_freebsd.c
109
sprintf(buf, "%d", revision);
stand/boot/efi/loader/arch/x86_64/elf64_freebsd.c
114
sprintf(buf, "0x%016x", rsdp->RsdtPhysicalAddress);
stand/boot/efi/loader/arch/x86_64/elf64_freebsd.c
118
sprintf(buf, "0x%016llx",
stand/boot/efi/loader/arch/x86_64/elf64_freebsd.c
121
sprintf(buf, "%d", rsdp->Length);
stand/boot/efi/loader/arch/x86_64/framebuffer.c
492
sprintf(command_errbuf, "mode is an integer");
stand/boot/efi/loader/devicename.c
151
sprintf(buf, "%s%d:", dev->d_dev->dv_name,
stand/boot/efi/loader/main.c
567
sprintf(buf, "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
stand/boot/efi/loader/main.c
664
sprintf(rowenv, "%u", (unsigned)rows);
stand/boot/pc32/libi386/biosacpi.c
59
sprintf(buf, "0x%08x", VTOP(rsdp));
stand/boot/pc32/libi386/biosacpi.c
64
sprintf(buf, "%d", revision);
stand/boot/pc32/libi386/biosacpi.c
69
sprintf(buf, "0x%08x", rsdp->RsdtPhysicalAddress);
stand/boot/pc32/libi386/biosacpi.c
73
sprintf(buf, "0x%016jx", (uintmax_t)rsdp->XsdtPhysicalAddress);
stand/boot/pc32/libi386/biosacpi.c
75
sprintf(buf, "%d", rsdp->Length);
stand/boot/pc32/libi386/bioscd.c
179
sprintf(line, " cd%d: Device 0x%x\n", i,
stand/boot/pc32/libi386/biosdisk.c
265
sprintf(line, " disk%d: BIOS drive %c:\n", i,
stand/boot/pc32/libi386/biosdisk.c
286
sprintf(line, " disk%d", i);
stand/boot/pc32/libi386/biosdisk.c
290
sprintf(line, " disk%ds%d", i, j + 1);
stand/boot/pc32/libi386/biosdisk.c
319
sprintf(line, "%s: Linux swap %.6dMB (%d - %d)\n",
stand/boot/pc32/libi386/biosdisk.c
323
sprintf(line, "%s: Linux swap\n", prefix);
stand/boot/pc32/libi386/biosdisk.c
331
sprintf(line, "%s: ext2fs %.6dMB (%d - %d)\n", prefix,
stand/boot/pc32/libi386/biosdisk.c
335
sprintf(line, "%s: ext2fs\n", prefix);
stand/boot/pc32/libi386/biosdisk.c
342
sprintf(line, "%s: FAT-12 %.6dMB (%d - %d)\n", prefix,
stand/boot/pc32/libi386/biosdisk.c
346
sprintf(line, "%s: FAT-12\n", prefix);
stand/boot/pc32/libi386/biosdisk.c
352
sprintf(line, "%s: FAT-16 %.6dMB (%d - %d)\n", prefix,
stand/boot/pc32/libi386/biosdisk.c
356
sprintf(line, "%s: FAT-16\n", prefix);
stand/boot/pc32/libi386/biosdisk.c
361
sprintf(line, "%s: FAT-32 %.6dMB (%d - %d)\n", prefix,
stand/boot/pc32/libi386/biosdisk.c
365
sprintf(line, "%s: FAT-32\n", prefix);
stand/boot/pc32/libi386/biosdisk.c
369
sprintf(line, "%s: Unknown fs: 0x%x %.6dMB (%d - %d)\n",
stand/boot/pc32/libi386/biosdisk.c
373
sprintf(line, "%s: Unknown fs: 0x%x\n", prefix,
stand/boot/pc32/libi386/biosdisk.c
404
sprintf(line, "%c %s%c: %s %.6lluMB (%llu - %llu)\n",
stand/boot/pc32/libi386/biosdisk.c
421
sprintf(line, "%c %s%c: %s\n",
stand/boot/pc32/libi386/biosdisk.c
464
sprintf(line, "%s: bad disklabel\n", prefix);
stand/boot/pc32/libi386/biospci.c
291
sprintf(desc,"0x%08x", devid);
stand/boot/pc32/libi386/devicename.c
208
sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_kind.bioscd.unit);
stand/boot/pc32/libi386/devicename.c
213
cp += sprintf(cp, "%s%d", dev->d_dev->dv_name, dev->d_kind.biosdisk.unit);
stand/boot/pc32/libi386/devicename.c
215
cp += sprintf(cp, "s%d", dev->d_kind.biosdisk.slice);
stand/boot/pc32/libi386/devicename.c
217
cp += sprintf(cp, "%c", dev->d_kind.biosdisk.partition + 'a');
stand/boot/pc32/libi386/devicename.c
222
sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_kind.netif.unit);
stand/boot/pc32/libi386/pxe.c
471
sprintf(cp, "%02x", fh[i]);
stand/boot/pc32/libi386/pxe.c
472
sprintf(cp, "X");
stand/boot/pc32/libi386/smbios.c
171
sprintf(uuid,
stand/boot/pc32/libi386/smbios.c
322
sprintf(buf, "%p", smbios);
stand/boot/pc32/libi386/smbios.c
346
sprintf(buf, "%d.%d", major, minor);
stand/boot/pc32/libi386/smbios.c
349
sprintf(buf, "%u", smbios_enabled_memory > 0 ?
stand/boot/pc32/libi386/smbios.c
354
sprintf(buf, "%u", smbios_enabled_sockets);
stand/boot/pc32/libi386/smbios.c
358
sprintf(buf, "%u", smbios_populated_sockets);
stand/boot/pc32/libi386/vidconsole.c
349
sprintf(buf, "%d", args[i]);
stand/lib/bzipfs.c
159
sprintf(bzfname, "%s.bz2", fname);
stand/lib/gzipfs.c
188
sprintf(zfname, "%s.gz", fname);
stand/lib/inet_ntoa.c
49
sprintf(ret, fmt, src[0], src[1], src[2], src[3]);
stand/lib/splitfs.c
98
sprintf(confname, "%s.split", fname);
stand/lib/stand.h
250
extern int sprintf(char *, const char *, ...) __printflike(2, 3);
stand/lib/strerror.c
82
sprintf(msg, "unknown error (%d)", err);
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
1089
return sprintf(buf, "%i\n", pwm_mode);
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
1122
return sprintf(buf, "%i\n", 0);
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
1129
return sprintf(buf, "%i\n", 255);
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
1188
return sprintf(buf, "%i\n", speed);
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
1210
return sprintf(buf, "%i\n", speed);
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
1272
return sprintf(buf, "%i\n", rpm);
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
1318
return sprintf(buf, "%i\n", pwm_mode == AMD_FAN_CTRL_AUTO ? 0 : 1);
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
1465
return sprintf(buf, "%i\n", 0);
sys/dev/drm/amd/amdgpu/amdgpu_ring.c
483
sprintf(name, "amdgpu_ring_%s", ring->name);
sys/dev/drm/amd/amdgpu/ci_dpm.c
6563
size += sprintf(buf + size, "%d: %uMhz %s\n",
sys/dev/drm/amd/amdgpu/ci_dpm.c
6579
size += sprintf(buf + size, "%d: %uMhz %s\n",
sys/dev/drm/amd/amdgpu/ci_dpm.c
6593
size += sprintf(buf + size, "%d: %s %s\n", i,
sys/dev/drm/amd/amdgpu/cik_sdma.c
993
sprintf(ring->name, "sdma%d", i);
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4482
sprintf(ring->name, "comp_%d.%d.%d", ring->me, ring->pipe, ring->queue);
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4560
sprintf(ring->name, "gfx");
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
6818
sprintf(type, "instruction intr");
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
6820
sprintf(type, "EDC/ECC error");
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
1686
sprintf(ring->name, "comp_%d.%d.%d", ring->me, ring->pipe, ring->queue);
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
1768
sprintf(ring->name, "gfx");
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
1770
sprintf(ring->name, "gfx_%d", i);
sys/dev/drm/amd/amdgpu/uvd_v4_2.c
120
sprintf(ring->name, "uvd");
sys/dev/drm/amd/amdgpu/vce_v2_0.c
435
sprintf(ring->name, "vce%d", i);
sys/dev/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
891
size += sprintf(buf + size, "0: %uMhz %s\n",
sys/dev/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
894
size += sprintf(buf + size, "1: %uMhz %s\n",
sys/dev/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
897
size += sprintf(buf + size, "2: %uMhz %s\n",
sys/dev/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
906
size += sprintf(buf + size, "%d: %uMhz %s\n",
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4429
size += sprintf(buf + size, "%d: %uMhz %s\n",
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4445
size += sprintf(buf + size, "%d: %uMhz %s\n",
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4459
size += sprintf(buf + size, "%d: %s %s\n", i,
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4467
size = sprintf(buf, "%s:\n", "OD_SCLK");
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4469
size += sprintf(buf + size, "%d: %10uMHz %10umV\n",
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4476
size = sprintf(buf, "%s:\n", "OD_MCLK");
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4478
size += sprintf(buf + size, "%d: %10uMHz %10umV\n",
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4485
size = sprintf(buf, "%s:\n", "OD_RANGE");
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4486
size += sprintf(buf + size, "SCLK: %7uMHz %10uMHz\n",
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4489
size += sprintf(buf + size, "MCLK: %7uMHz %10uMHz\n",
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4492
size += sprintf(buf + size, "VDDC: %7umV %11umV\n",
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4902
size += sprintf(buf + size, "%s %16s %16s %16s %16s %16s %16s %16s\n",
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4910
size += sprintf(buf + size, "%3d %14s %s: %8d %16d %16d %16d %16d %16d\n",
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4921
size += sprintf(buf + size, "%3d %16s: %8d %16d %16d ",
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4926
size += sprintf(buf + size, "%3d %16s: %8s %16s %16s ",
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4930
size += sprintf(buf + size, "%16d %16d %16d\n",
sys/dev/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
4935
size += sprintf(buf + size, "%16s %16s %16s\n",
sys/dev/drm/amd/powerplay/hwmgr/smu8_hwmgr.c
1534
size += sprintf(buf + size, "%d: %uMhz %s\n",
sys/dev/drm/amd/powerplay/hwmgr/smu8_hwmgr.c
1546
size += sprintf(buf + size, "%d: %uMhz %s\n",
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4295
size += sprintf(buf + size, "%d: %uMhz %s\n",
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4307
size += sprintf(buf + size, "%d: %uMhz %s\n",
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4316
size += sprintf(buf + size, "%d: %s %s\n", i,
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4324
size = sprintf(buf, "%s:\n", "OD_SCLK");
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4327
size += sprintf(buf + size, "%d: %10uMhz %10umV\n",
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4334
size = sprintf(buf, "%s:\n", "OD_MCLK");
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4337
size += sprintf(buf + size, "%d: %10uMhz %10umV\n",
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4344
size = sprintf(buf, "%s:\n", "OD_RANGE");
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4345
size += sprintf(buf + size, "SCLK: %7uMHz %10uMHz\n",
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4348
size += sprintf(buf + size, "MCLK: %7uMHz %10uMHz\n",
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4351
size += sprintf(buf + size, "VDDC: %7umV %11umV\n",
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4699
size += sprintf(buf + size, "%s %16s %s %s %s %s\n",title[0],
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4703
size += sprintf(buf + size, "%3d %14s%s: %14d %3d %10d %14d\n",
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4707
size += sprintf(buf + size, "%3d %14s%s: %14d %3d %10d %14d\n", i,
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1875
size += sprintf(buf + size, "%d: %uMhz %s\n",
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1891
size += sprintf(buf + size, "%d: %uMhz %s\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2794
size += sprintf(buf + size, "%d: %uMhz %s\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2811
size += sprintf(buf + size, "%d: %uMhz %s\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2822
size = sprintf(buf, "%s:\n", "OD_SCLK");
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2823
size += sprintf(buf + size, "0: %10uMhz\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2825
size += sprintf(buf + size, "1: %10uMhz\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2832
size = sprintf(buf, "%s:\n", "OD_MCLK");
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2833
size += sprintf(buf + size, "1: %10uMhz\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2846
size = sprintf(buf, "%s:\n", "OD_VDDC_CURVE");
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2847
size += sprintf(buf + size, "0: %10uMhz %10dmV\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2850
size += sprintf(buf + size, "1: %10uMhz %10dmV\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2853
size += sprintf(buf + size, "2: %10uMhz %10dmV\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2861
size = sprintf(buf, "%s:\n", "OD_RANGE");
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2865
size += sprintf(buf + size, "SCLK: %7uMhz %10uMhz\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2876
size += sprintf(buf + size, "MCLK: %7uMhz %10uMhz\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2887
size += sprintf(buf + size, "VDDC_CURVE_SCLK[0]: %7uMhz %10uMhz\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2890
size += sprintf(buf + size, "VDDC_CURVE_VOLT[0]: %7dmV %11dmV\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2893
size += sprintf(buf + size, "VDDC_CURVE_SCLK[1]: %7uMhz %10uMhz\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2896
size += sprintf(buf + size, "VDDC_CURVE_VOLT[1]: %7dmV %11dmV\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2899
size += sprintf(buf + size, "VDDC_CURVE_SCLK[2]: %7uMhz %10uMhz\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2902
size += sprintf(buf + size, "VDDC_CURVE_VOLT[2]: %7dmV %11dmV\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
3290
size += sprintf(buf + size, "%16s %s %s %s %s %s %s %s %s %s %s\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
3303
size += sprintf(buf + size, "%2d %14s%s:\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
3306
size += sprintf(buf + size, "%19s %d(%13s) %7d %7d %7d %7d %7d %7d %7d %7d %7d\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
3320
size += sprintf(buf + size, "%19s %d(%13s) %7d %7d %7d %7d %7d %7d %7d %7d %7d\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
3334
size += sprintf(buf + size, "%19s %d(%13s) %7d %7d %7d %7d %7d %7d %7d %7d %7d\n",
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
3348
size += sprintf(buf + size, "%19s %d(%13s) %7d %7d %7d %7d %7d %7d %7d %7d %7d\n",
sys/dev/drm/drm_dp_aux_dev.c
114
res = sprintf(buf, "%s\n", aux_dev->aux->name);
sys/dev/drm/i915/i915_drv.c
1411
sprintf(bandwidth_str, "%d KBps", dram_info->bandwidth_kbps);
sys/dev/drm/i915/i915_drv.c
1413
sprintf(bandwidth_str, "unknown");
sys/dev/drm/i915/i915_oa_cflgt3.c
81
return sprintf(buf, "1\n");
sys/dev/drm/i915/i915_oa_cnl.c
93
return sprintf(buf, "1\n");
sys/dev/drm/i915/i915_oa_hsw.c
111
return sprintf(buf, "1\n");
sys/dev/drm/i915/i915_oa_icl.c
90
return sprintf(buf, "1\n");
sys/dev/drm/i915/i915_perf.c
3116
return sprintf(buf, "%d\n", oa_config->id);
sys/dev/drm/i915/i915_pmu.c
720
return sprintf(buf, "%s\n", eattr->str);
sys/dev/drm/i915/i915_pmu.c
750
return sprintf(buf, "config=0x%lx\n", eattr->val);
sys/dev/drm/i915/intel_engine_cs.c
1227
sprintf(linebuf + j, "\n");
sys/dev/drm/i915/intel_engine_cs.c
1231
sprintf(linebuf + j, " ");
sys/dev/drm/i915/intel_engine_cs.c
1239
sprintf(linebuf + j, "%02X", c);
sys/dev/drm/i915/intel_engine_cs.c
1246
sprintf(linebuf + j, "\n");
sys/dev/drm/radeon/radeon_pm.c
582
return sprintf(buf, "%i\n", pwm_mode == FDO_PWM_MODE_STATIC ? 1 : 2);
sys/dev/drm/radeon/radeon_pm.c
617
return sprintf(buf, "%i\n", 0);
sys/dev/drm/radeon/radeon_pm.c
624
return sprintf(buf, "%i\n", 255);
sys/dev/drm/radeon/radeon_pm.c
662
return sprintf(buf, "%i\n", speed);
sys/dev/misc/ipmi/ipmi.c
1015
sprintf(temp, "%02x ", *data);
sys/dev/netif/re/re.h
1213
sprintf(buf,_msg,_para1); \
sys/dev/raid/vinum/vinumutil.c
112
sprintf(numeric_state, "Invalid org %d", (int) org);
sys/dev/raid/vinum/vinumutil.c
122
sprintf(numeric_state, "Invalid state %d", (int) state);
sys/dev/raid/vinum/vinumutil.c
59
sprintf(numeric_state, "Invalid state %d", (int) state);
sys/dev/raid/vinum/vinumutil.c
70
sprintf(numeric_state, "Invalid state %d", (int) state);
sys/dev/raid/vinum/vinumutil.c
81
sprintf(numeric_state, "Invalid state %d", (int) state);
sys/libprop/prop_number.c
204
sprintf(tmpstr, "0x%" PRIx64, pn->pn_value.pnv_unsigned);
sys/libprop/prop_number.c
206
sprintf(tmpstr, "%" PRIi64, pn->pn_value.pnv_signed);
sys/libprop/prop_string.c
346
sprintf(cp, "%s%s", prop_string_contents(dst),
sys/libprop/prop_string.c
380
sprintf(cp, "%s%s", prop_string_contents(dst), src);
test/interbench/interbench.c
1189
sprintf(ud.datestamp, "%2d%02d%02d%02d%02d",
test/stress/fsstress/fsstress.c
1503
sprintf(aname, "a%x", nameseq++);
test/stress/fsstress/fsstress.c
393
sprintf(buf, "fss%x", getpid());
test/stress/fsstress/fsstress.c
694
sprintf(buf, "p%x", procid);
test/stress/fsstress/fsstress.c
741
i = sprintf(buf, "%c%x", flp->tag, fep->id);
test/stress/fsstress/fsstress.c
782
len = sprintf(buf, "%c%x", flp->tag, id = nameseq++);
test/stress/stress2/testcases/creat/creat.c
120
sprintf(file,"p%05d.%05d", pid, j);
test/stress/stress2/testcases/creat/creat.c
133
sprintf(file,"p%05d.%05d", pid, i);
test/stress/stress2/testcases/creat/creat.c
92
sprintf(path,"%s.%05d", getprogname(), getpid());
test/stress/stress2/testcases/link/link.c
117
sprintf(file,"p%05d.%05d", pid, j);
test/stress/stress2/testcases/link/link.c
140
sprintf(file,"p%05d.%05d", pid, i);
test/stress/stress2/testcases/link/link.c
89
sprintf(path,"%s.%05d", getprogname(), getpid());
test/stress/stress2/testcases/lockf/lockf.c
95
sprintf(file, "lockf.0.%d", getpid());
test/stress/stress2/testcases/lockf2/lockf2.c
57
sprintf(file, "lockf.%d", getpid());
test/stress/stress2/testcases/mkdir/mkdir.c
105
sprintf(newPath,"d%d", level+1);
test/stress/stress2/testcases/mkdir/mkdir.c
115
sprintf(newPath,"d%d", level+1);
test/stress/stress2/testcases/mkdir/mkdir.c
130
sprintf(path,"p%05d.d%d", getpid(), 1);
test/stress/stress2/testcases/mkfifo/mkfifo.c
112
if (sprintf(path, "fifo.%d.%d", getpid(), i) < 0)
test/stress/stress2/testcases/mkfifo/mkfifo.c
118
if (sprintf(path, "fifo.%d.%d", getpid(), i) < 0)
test/stress/stress2/testcases/mkfifo/mkfifo.c
125
if (sprintf(path, "fifo.%d", getpid()) < 0)
test/stress/stress2/testcases/mmap/mmap.c
50
sprintf(path,"%s.%05d", getprogname(), getpid());
test/stress/stress2/testcases/mmap/mmap.c
82
sprintf(file,"p%05d.%05d", pid, i);
test/stress/stress2/testcases/openat/openat.c
120
sprintf(file,"p%05d.%05d", pid, i);
test/stress/stress2/testcases/openat/openat.c
125
sprintf(file2,"p%05d.%05d.togo", pid, i);
test/stress/stress2/testcases/openat/openat.c
129
sprintf(file2,"tmp/p%05d.%05d.togo", pid, i);
test/stress/stress2/testcases/openat/openat.c
145
sprintf(file,"p%05d.%05d", pid, i);
test/stress/stress2/testcases/openat/openat.c
52
sprintf(path1,"%s.%05d", getprogname(), getpid());
test/stress/stress2/testcases/openat/openat.c
98
sprintf(file,"p%05d.%05d", pid, i);
test/stress/stress2/testcases/rename/rename.c
109
sprintf(file1,"p%05d.%05d", pid, i);
test/stress/stress2/testcases/rename/rename.c
116
sprintf(file1,"p%05d.%05d", pid, i);
test/stress/stress2/testcases/rename/rename.c
117
sprintf(file2,"p%05d.%05d.togo", pid, i);
test/stress/stress2/testcases/rename/rename.c
123
sprintf(file1,"p%05d.%05d", pid, i);
test/stress/stress2/testcases/rename/rename.c
124
sprintf(file2,"p%05d.%05d.togo", pid, i);
test/stress/stress2/testcases/rename/rename.c
132
sprintf(file1,"p%05d.%05d", pid, i);
test/stress/stress2/testcases/rename/rename.c
80
sprintf(path,"%s.%05d", getprogname(), getpid());
test/stress/stress2/testcases/rw/rw.c
134
sprintf(file,"p%05d", getpid());
test/stress/stress2/testcases/rw/rw.c
93
sprintf(path,"%s.%05d", getprogname(), getpid());
test/stress/stress2/testcases/symlink/symlink.c
114
sprintf(file,"p%05d.%05d", pid, j);
test/stress/stress2/testcases/symlink/symlink.c
128
sprintf(file,"p%05d.%05d", pid, i);
test/stress/stress2/testcases/symlink/symlink.c
86
sprintf(path,"%s.%05d", getprogname(), getpid());
test/stress/stress2/testcases/syscall/syscall.c
71
sprintf(path,"%s.%05d", getprogname(), getpid());
test/stress/stress2/tools/fstool.c
106
sprintf(newPath,"d%d", level+1);
test/stress/stress2/tools/fstool.c
124
sprintf(newPath,"d%d", level+1);
test/stress/stress2/tools/fstool.c
130
sprintf(help, "rm -rf ./%s", path);
test/stress/stress2/tools/fstool.c
188
sprintf(path,"p%05d.d%d", pid, 1);
test/stress/stress2/tools/fstool.c
67
sprintf(file,"f%05d", j);
test/stress/stress2/tools/fstool.c
83
sprintf(newPath,"d%d", level+1);
test/stress/stress2/tools/fstool.c
95
sprintf(file,"f%05d", j);
tools/multimedia/cxm/setchannel/cxm_setchannel.c
188
sprintf(buf, "/dev/cxm%d", unit);
tools/tools/ifinfo/ifinfo.c
239
sprintf(buf, "unknown type %d", type);
tools/tools/ifinfo/ifinfo.c
251
sprintf(buf, "unknown physical %d", phys);
tools/tools/net80211/stumbler/stumbler.c
114
sprintf(ret, "%.2X:%.2X:%.2X:%.2X:%.2X:%.2X",
tools/tools/net80211/stumbler/stumbler.c
310
sprintf(buf, "/dev/bpf%d", i);
tools/tools/net80211/stumbler/stumbler.c
419
sprintf(chan, "%.2d", node->chan);
tools/tools/net80211/w00t/libw00t/w00t.c
66
sprintf(str, "%.2X:%.2X:%.2X:%.2X:%.2X:%.2X",
tools/tools/net80211/w00t/libw00t/w00t.c
96
sprintf(buf, "/dev/bpf%d", i);
tools/tools/net80211/wesside/udps/udps.c
177
sprintf(ip, "%s", inet_ntoa(s_in.sin_addr));
tools/tools/net80211/wesside/wesside/wesside.c
1270
sprintf(path, "%s/%s/%s/%s", DICT_PATH, paths[0], paths[1], paths[2]);
tools/tools/net80211/wesside/wesside/wesside.c
2096
sprintf(tmp, "%.2X", *key++);
tools/tools/net80211/wesside/wesside/wesside.c
434
sprintf(buf, "/dev/bpf%d", i);
tools/tools/net80211/wesside/wesside/wesside.c
486
sprintf(ret, "%.2X:%.2X:%.2X:%.2X:%.2X:%.2X",
tools/tools/net80211/wlaninject/wlaninject.c
93
sprintf(buf, "/dev/bpf%d", i);
tools/tools/net80211/wlanwatch/wlanwatch.c
176
(void) sprintf(line, "%s", inet_ntoa(in));
tools/tools/net80211/wlanwatch/wlanwatch.c
220
char *cp = line + sprintf(line, "(%d)", sa->sa_family);
usr.bin/calendar/io.c
714
sprintf(dayname, "%s, %d %s %d",
usr.bin/chat/chat.c
857
sprintf(string, "%s^%c", meta, (int)c + '@');
usr.bin/chat/chat.c
859
sprintf(string, "%s^?", meta);
usr.bin/chat/chat.c
861
sprintf(string, "%s%c", meta, c);
usr.bin/chkey/chkey.c
231
sprintf(pkent,"%s:%s", public, secret);
usr.bin/chkey/chkey.c
251
sprintf(uidstr, "%d", uid);
usr.bin/chpass/util.c
65
sprintf(tbuf, "%s %d, %d", months[tp->tm_mon],
usr.bin/crunch/crunchide/exec_elf64.c
409
newent_len = sprintf(nstrtabp + nstrtab_nextoff,
usr.bin/crunch/crunchide/exec_elf64.c
412
newent_len = sprintf(nstrtabp + nstrtab_nextoff,
usr.bin/dfregress/kernel.c
105
sprintf(errmsg, "sending testcase to kernel failed: %s",
usr.bin/dfregress/kernel.c
117
sprintf(errmsg, "receiving test results from kernel failed: %s",
usr.bin/dfregress/kernel.c
136
sprintf(errmsg, "kldunload for %s failed: %s", kmod,
usr.bin/dfregress/kernel.c
71
sprintf(errmsg, "Kernel bridge module probably not loaded: %s",
usr.bin/dfregress/kernel.c
82
sprintf(errmsg, "Could not load testcase kmod %s: %s", kmod,
usr.bin/dfregress/kernel.c
93
sprintf(errmsg, "Could not open kernel bridge interface: %s",
usr.bin/dfregress/runlist.c
118
sprintf(testcase_path, "%s/%s", testcase_dir,
usr.bin/dfregress/runlist.c
131
sprintf(errbuf, "could not switch working directory to %s: %s\n",
usr.bin/dfregress/runlist.c
179
sprintf(prepost_path, "%s/%s", prepost_dir,
usr.bin/dfregress/runlist.c
267
sprintf(prepost_path, "%s/%s", prepost_dir,
usr.bin/fstat/fstat.c
541
sprintf(unknown, "?(%x)", vn.v_tag);
usr.bin/fstat/fstat.c
607
sprintf(mode, "%06o", fst.mode);
usr.bin/hexdump/conv.c
79
(void)sprintf(buf, "%03o", (int)*p);
usr.bin/indent/indent.c
1238
sprintf(bakfile, "%s%s", p, simple_backup_suffix);
usr.bin/ipcs/ipcs.c
110
sprintf(buf, "%2d:%02d:%02d",
usr.bin/kcollect/kcollect.c
380
sprintf(ret, "%5ju.%02ju",
usr.bin/kcollect/kcollect.c
387
sprintf(ret,"%4ju.%02ju%%",
usr.bin/kcollect/kcollect.c
398
sprintf(ret,"%8.8s", buf);
usr.bin/kcollect/kcollect.c
409
sprintf(ret,"%8.8s", buf);
usr.bin/kcollect/kcollect.c
429
sprintf(ret,"%8.8s", buf);
usr.bin/kcollect/kcollect.c
432
sprintf(ret,"%s"," ");
usr.bin/kdump/kdump.c
244
sprintf(unknown, "UNKNOWN(%d)", kth->ktr_type);
usr.bin/limits/limits.c
369
sprintf(str, "%s-cur", resources[rcswhich].cap);
usr.bin/limits/limits.c
373
sprintf(str, "%s-max", resources[rcswhich].cap);
usr.bin/limits/limits.c
521
sprintf(numbr, "%jd", (intmax_t)((limit + divisor/2) / divisor));
usr.bin/limits/limits.c
670
int l = sprintf(procdir, "/proc/%ld/", (long)ppid);
usr.bin/mail/cmd1.c
189
sprintf(wcount, "%3ld/%-5ld", mp->m_lines, mp->m_size);
usr.bin/mail/cmd3.c
269
sprintf(newsubj, "Re: %s", subj);
usr.bin/msgs/msgs.c
709
sprintf(buf, "Goto %d", i);
usr.bin/mt/mt.c
505
sprintf(buf, "0x%02x", d);
usr.bin/mt/mt.c
507
sprintf(buf, "0x%02x:%s", d, sd->name);
usr.bin/mt/mt.c
553
sprintf(buf, "%d bytes", bs);
usr.bin/mt/mt.c
574
sprintf(buf, "0x%x", comp);
usr.bin/mt/mt.c
661
(void) sprintf(foo, "Unknown state 0x%x", bp->mt_dsreg);
usr.bin/ncal/ncal.c
1066
sprintf(s, "%.*s%s", (int)(w - strlen(t)) / 2, blanks, t);
usr.bin/ncal/ncal.c
642
sprintf(s, "%d", M2Y(m));
usr.bin/ncal/ncal.c
729
sprintf(s, "%d", M2Y(m));
usr.bin/netstat/if.c
343
sprintf(linknum, "<Link#%hu>", sdl->sdl_index);
usr.bin/netstat/if.c
79
sprintf(newfmt, "%%%ds", width);
usr.bin/netstat/if.c
89
sprintf(newfmt, "%%%ds", width);
usr.bin/netstat/if.c
92
sprintf(newfmt, "%%%d%s", width, fmt);
usr.bin/netstat/inet.c
934
sprintf(line, "%s.", inetname(in));
usr.bin/netstat/inet.c
936
sprintf(line, "%.*s.", (Aflag && !num_port) ? 12 : 16, inetname(in));
usr.bin/netstat/inet.c
941
sprintf(cp, "%.15s ", sp ? sp->s_name : "*");
usr.bin/netstat/inet.c
943
sprintf(cp, "%d ", ntohs((u_short)port));
usr.bin/netstat/inet.c
990
sprintf(line, "%u.%u.%u.%u", C(inp->s_addr >> 24),
usr.bin/netstat/inet6.c
1043
sprintf(line, "%.*s.", Wflag ? 39 :
usr.bin/netstat/inet6.c
1049
sprintf(cp, "%.8s", sp ? sp->s_name : "*");
usr.bin/netstat/inet6.c
1051
sprintf(cp, "%d", ntohs((u_short)port));
usr.bin/netstat/inet6.c
1094
sprintf(line, "%s",
usr.bin/netstat/mroute.c
185
sprintf(s1, "%ju", (uintmax_t)bw_meter->bm_measured.b_packets);
usr.bin/netstat/mroute.c
187
sprintf(s1, "?");
usr.bin/netstat/mroute.c
189
sprintf(s2, "%ju", (uintmax_t)bw_meter->bm_measured.b_bytes);
usr.bin/netstat/mroute.c
191
sprintf(s2, "?");
usr.bin/netstat/mroute.c
192
sprintf(s0, "%lu.%lu|%.64s|%.64s",
usr.bin/netstat/mroute.c
199
sprintf(s0, "%s", "?");
usr.bin/netstat/mroute.c
201
sprintf(s0, "%s", ">=");
usr.bin/netstat/mroute.c
203
sprintf(s0, "%s", "<=");
usr.bin/netstat/mroute.c
208
sprintf(s1, "%ju", (uintmax_t)bw_meter->bm_threshold.b_packets);
usr.bin/netstat/mroute.c
210
sprintf(s1, "?");
usr.bin/netstat/mroute.c
212
sprintf(s2, "%ju", (uintmax_t)bw_meter->bm_threshold.b_bytes);
usr.bin/netstat/mroute.c
214
sprintf(s2, "?");
usr.bin/netstat/mroute.c
215
sprintf(s0, "%lu.%lu|%.64s|%.64s",
usr.bin/netstat/mroute.c
226
sprintf(s3, "%lu.%lu", delta.tv_sec, delta.tv_usec);
usr.bin/netstat/mroute.c
230
sprintf(s3, "-%lu.%lu", delta.tv_sec, delta.tv_usec);
usr.bin/netstat/route.c
1014
sprintf(&line[strlen(line)], "/%d", masklen);
usr.bin/netstat/route.c
487
sprintf(nbuf, "(%d)", rnode->rn_bit);
usr.bin/netstat/route.c
494
sprintf(nbuf, " %d refs, ", rmask.rm_refs);
usr.bin/netstat/route.c
677
sprintf(workbuf, "link#%d", sdl->sdl_index);
usr.bin/netstat/route.c
701
(void) sprintf(workbuf, "%d", ntohl(smpls->smpls_label));
usr.bin/netstat/route.c
713
cq += sprintf(cq, "(%d)", sa->sa_family);
usr.bin/netstat/route.c
715
cq += sprintf(cq, " %02x", *s++);
usr.bin/netstat/route.c
717
cq += sprintf(cq, "%02x", *s++);
usr.bin/netstat/route.c
855
sprintf(line, "%lu.%lu.%lu.%lu",
usr.bin/netstat/route.c
896
sprintf(dst, "&0x%lx", mask);
usr.bin/netstat/route.c
898
sprintf(dst, "/%d", 32-i);
usr.bin/netstat/route.c
938
sprintf(line, "%lu", C(i >> 24));
usr.bin/netstat/route.c
941
sprintf(line, "%lu.%lu",
usr.bin/netstat/route.c
945
sprintf(line, "%lu.%lu.%lu",
usr.bin/netstat/route.c
948
sprintf(line, "%lu.%lu.%lu.%lu",
usr.bin/netstat/unix.c
71
sprintf(mibvar, "net.local.%s.pcblist", socktype[type]);
usr.bin/newkey/newkey.c
179
(void)sprintf(pkent, "%s:%s", public, secret);
usr.bin/newkey/update.c
104
(void)sprintf(updater, "make -s -f %s/%s %s", YPDBPATH, /* !!! */
usr.bin/newkey/update.c
180
(void)sprintf(com, "exec %s", command);
usr.bin/newkey/update.c
268
sprintf(tmpname, "%s.tmp", filename);
usr.bin/nfsstat/nfsstat.c
436
sprintf(p, "%3d%%",
usr.bin/nfsstat/nfsstat.c
439
sprintf(p, " -");
usr.bin/nfsstat/nfsstat.c
451
sprintf(p, "%3d%%",
usr.bin/nfsstat/nfsstat.c
454
sprintf(p, " -");
usr.bin/nl/nl.c
328
consumed = sprintf(intbuffer, format, width, line);
usr.bin/quota/quota.c
415
sprintf(buf, "%lddays", ((long)hours + 12) / 24);
usr.bin/quota/quota.c
419
sprintf(buf, "%2ld:%ld", (long)minutes / 60,
usr.bin/quota/quota.c
423
sprintf(buf, "%2ld", (long)minutes);
usr.bin/quota/quota.c
498
sprintf(usrname, "%s%s", qfextension[USRQUOTA], qfname);
usr.bin/quota/quota.c
499
sprintf(grpname, "%s%s", qfextension[GRPQUOTA], qfname);
usr.bin/quota/quota.c
517
sprintf(buf, "%s/%s.%s", fs->fs_file, qfname, qfextension[type]);
usr.bin/rpcgen/rpc_parse.c
378
sprintf(tmp,
usr.bin/rpcgen/rpc_parse.c
387
sprintf(tmp,
usr.bin/rpcgen/rpc_parse.c
482
sprintf(name, "%s%d", ARGNAME, num);
usr.bin/rpcgen/rpc_svcout.c
190
sprintf(_errbuf, "cannot find %s netid.", transp);
usr.bin/rpcgen/rpc_svcout.c
191
sprintf(tmpbuf, "%s\t\t", sp);
usr.bin/rpcgen/rpc_svcout.c
205
sprintf(_errbuf, "cannot create %s service.", transp);
usr.bin/rpcgen/rpc_svcout.c
221
sprintf(_errbuf, "unable to register (%s, %s, %s).",
usr.bin/rpcgen/rpc_svcout.c
250
sprintf(_errbuf, "unable to create (%s, %s) for %s.",
usr.bin/rpcgen/rpc_svcout.c
268
sprintf(_errbuf, "could not create a handle");
usr.bin/rpcgen/rpc_svcout.c
281
sprintf(_errbuf, "svc_run returned");
usr.bin/rpcgen/rpc_svcout.c
519
sprintf(_errbuf, "unable to free arguments");
usr.bin/rpcgen/rpc_svcout.c
529
sprintf(_errbuf, "unable to free results");
usr.bin/rpcgen/rpc_svcout.c
788
sprintf(_errbuf, "cannot get transport info");
usr.bin/rpcgen/rpc_svcout.c
806
sprintf(_errbuf, "could not get the right module");
usr.bin/rpcgen/rpc_svcout.c
824
sprintf(_errbuf, "cannot create server handle");
usr.bin/rpcgen/rpc_svcout.c
839
sprintf(_errbuf, "unable to register (%s, %s).",
usr.bin/rpcgen/rpc_svcout.c
957
sprintf(_errbuf, "cannot create %s service.", transp);
usr.bin/rpcgen/rpc_svcout.c
958
sprintf(tmpbuf, "%s\t\t", sp);
usr.bin/rpcgen/rpc_svcout.c
981
sprintf(_errbuf, "unable to register (%s, %s, %s).",
usr.bin/rpcgen/rpc_util.c
410
sprintf(name, "%s_%s_%s", locase(pname), vname, ARGEXT);
usr.bin/rpcgen/rpc_util.h
70
#define s_print (void) sprintf
usr.bin/rpcinfo/rpcinfo.c
1027
sprintf(fieldbuf, "%d/", inf[RPCBVERS_2_STAT].setinfo);
usr.bin/rpcinfo/rpcinfo.c
1030
sprintf(fieldbuf, "%d/",
usr.bin/rpcinfo/rpcinfo.c
1038
sprintf(fieldbuf, "%d/", cnt);
usr.bin/rpcinfo/rpcinfo.c
1045
sprintf(fieldbuf, "%d/", cnt);
usr.bin/rpcinfo/rpcinfo.c
1050
sprintf(cp, "%d", inf[RPCBVERS_2_STAT].info[i]);
usr.bin/rpcinfo/rpcinfo.c
1055
sprintf(lp, "%s%s", fieldbuf,
usr.bin/rpcinfo/rpcinfo.c
1080
sprintf(fieldbuf, "%d/", inf[RPCBVERS_3_STAT].setinfo);
usr.bin/rpcinfo/rpcinfo.c
1083
sprintf(fieldbuf, "%d/",
usr.bin/rpcinfo/rpcinfo.c
1091
sprintf(fieldbuf, "%d/", cnt);
usr.bin/rpcinfo/rpcinfo.c
1098
sprintf(fieldbuf, "%d/", cnt);
usr.bin/rpcinfo/rpcinfo.c
1103
sprintf(cp, "%d", inf[RPCBVERS_3_STAT].info[i]);
usr.bin/rpcinfo/rpcinfo.c
1108
sprintf(lp, "%s%s", fieldbuf,
usr.bin/rpcinfo/rpcinfo.c
1135
sprintf(fieldbuf, "%d/",
usr.bin/rpcinfo/rpcinfo.c
1139
sprintf(fieldbuf, "%d/",
usr.bin/rpcinfo/rpcinfo.c
1147
sprintf(fieldbuf, "%d/", cnt);
usr.bin/rpcinfo/rpcinfo.c
1154
sprintf(fieldbuf, "%d/", cnt);
usr.bin/rpcinfo/rpcinfo.c
1165
sprintf(cp, "%d", inf[RPCBVERS_4_STAT].info[i]);
usr.bin/rpcinfo/rpcinfo.c
1167
sprintf(cp, "%d", inf[RPCBVERS_4_STAT].info[i] +
usr.bin/rpcinfo/rpcinfo.c
1173
sprintf(lp, "%s%s", fieldbuf,
usr.bin/rpcinfo/rpcinfo.c
761
sprintf(list->rpcb_map.r_netid, "%6ld",
usr.bin/rpcinfo/rpcinfo.c
768
sprintf(&list->rpcb_map.r_addr[8], "%d.%d",
usr.bin/rusers/rusers.c
123
sprintf(idle_time, " :%02d", idle);
usr.bin/rusers/rusers.c
137
sprintf(idle_time, "%d:%02d", minutes, seconds);
usr.bin/rusers/rusers.c
139
sprintf(idle_time, "%d:%02d:%02d",
usr.bin/rusers/rusers.c
142
sprintf(idle_time, "%d days, %d:%02d:%02d",
usr.bin/rusers/rusers.c
149
sprintf(remote, "(%.16s)",
usr.bin/rwho/rwho.c
152
sprintf(buf, "%s:%-.*s", mp->myhost,
usr.bin/sort/file.c
204
sprintf(ret, "%s/%s%d.%lu", tmpdir, fn, (int) getpid(), (unsigned long)(tfcounter++));
usr.bin/systat/devs.c
322
sprintf(tmpstr, "%s%d", dev_select[i].device_name,
usr.bin/systat/iostat.c
208
sprintf(tmpstr, "%.6s%d", dev_select[i].device_name,
usr.bin/systat/iostat.c
232
sprintf(tmpstr, "%.4s%d", dev_select[i].device_name,
usr.bin/systat/vmstat.c
382
sprintf(tmpstr, "%s%d", dev_select[i].device_name,
usr.bin/systat/vmstat.c
628
sprintf(tmpstr, "%s%d", dev_select[i].device_name,
usr.bin/systat/vmstat.c
858
sprintf(b, "%*.*Lf", w, d, f);
usr.bin/systat/vmstat.c
860
sprintf(b, "%*.0Lf", w, f);
usr.bin/systat/vmstat.c
876
sprintf(b, "%*.*s", w, w, "");
usr.bin/tip/unidialer.c
434
(void) sprintf (dial_string, dial_command, num);
usr.bin/tip/unidialer.c
445
sprintf(line, "%d second dial timeout",
usr.bin/top/m_dragonfly.c
756
sprintf(status, "CPU%d", LP(pp, cpuid));
usr.bin/top/m_dragonfly.c
766
sprintf(status, "%.8s", wmesg); /* WMESGLEN */
usr.bin/top/m_dragonfly.c
771
sprintf(status, "?LP/%d", LP(pp, stat));
usr.bin/top/m_dragonfly.c
785
sprintf(status, "?P/%d", PP(pp, stat));
usr.bin/top/m_dragonfly.c
789
sprintf(status, "%.8s", state_abbrev[state]);
usr.bin/top/utils.c
527
sprintf(result, "%5.0f", v);
usr.bin/top/utils.c
531
sprintf(result, "%5.2f", v);
usr.bin/truss/syscalls.c
280
p += sprintf(p, " %#02x,", *q);
usr.bin/u4bhidctl/usbhid.c
139
cp += sprintf(&colls[cp], "%s%s:%s",
usr.bin/u4bhidctl/usbhid.c
85
cp += sprintf(&colls[cp], "%s%s:%s",
usr.bin/whereis/whereis.c
471
sprintf(cp, MANWHEREISALLCMD, name);
usr.bin/whereis/whereis.c
473
sprintf(cp, MANWHEREISCMD, name);
usr.bin/whereis/whereis.c
586
sprintf(cp, LOCATECMD, name);
usr.bin/window/lcmd1.c
318
(void) sprintf(buf, "%d", a->v_num);
usr.bin/window/lcmd2.c
151
(void) sprintf(p, "%ld:", (long int)t->tv_sec / (60*60));
usr.bin/window/lcmd2.c
159
(void) sprintf(p, fill ? "%02lld:" : "%lld:",
usr.bin/window/lcmd2.c
167
(void) sprintf(p, fill ? "%02lld.%02ld" : "%lld.%02ld",
usr.bin/window/lcmd2.c
376
(void) sprintf(buf, "%d", a->v_num);
usr.bin/window/startup.c
51
(void) sprintf(buf, "%.*s/%s",
usr.bin/window/ttzapple.c
367
(void) sprintf(buf, "%02x=", t);
usr.bin/window/ttzapple.c
386
(void) sprintf(buf, "%02x>", t);
usr.bin/window/wwdump.c
67
(void) sprintf(buf, "%d", w->ww_nvis[i]);
usr.bin/window/wwenviron.c
95
(void) sprintf(buf, "%sco#%d:li#%d:%.800s",
usr.bin/window/wwenviron.c
98
(void) sprintf(buf, "%d", wp->ww_id + 1);
usr.bin/window/wwinit.c
297
(void) sprintf(kp, "kn#%d:", j);
usr.bin/window/wwinit.c
301
(void) sprintf(cap, "k%d", i);
usr.bin/window/wwterminfo.c
67
(void) sprintf(wwterminfopath, "%swwinXXXXXX", _PATH_TMP);
usr.bin/window/wwterminfo.c
75
(void) sprintf(buf, "%s/cap", wwterminfopath);
usr.bin/window/wwterminfo.c
83
(void) sprintf(buf,
usr.sbin/cdcontrol/cdcontrol.c
877
sprintf(buf, "%u", n);
usr.sbin/cron/crontab/crontab.c
225
sprintf(n, CRON_TAB(User));
usr.sbin/cron/crontab/crontab.c
276
sprintf(n, CRON_TAB(User));
usr.sbin/cron/crontab/crontab.c
309
sprintf(n, CRON_TAB(User));
usr.sbin/cron/crontab/crontab.c
319
sprintf(Filename, "/tmp/crontab.XXXXXXXXXX");
usr.sbin/cron/crontab/crontab.c
502
sprintf(n, "tmp.%d", Pid);
usr.sbin/cron/crontab/crontab.c
503
sprintf(tn, CRON_TAB(n));
usr.sbin/cron/crontab/crontab.c
589
sprintf(n, CRON_TAB(User));
usr.sbin/cron/lib/compat.c
227
sprintf(tmp, "%s=%s", name, value);
usr.sbin/cron/lib/compat.c
78
sprintf(buf, "Unknown error: %d", error);
usr.sbin/cron/lib/entry.c
338
sprintf(envstr, "SHELL=%s", _PATH_BSHELL);
usr.sbin/cron/lib/entry.c
348
sprintf(envstr, "HOME=%s", pw->pw_dir);
usr.sbin/cron/lib/entry.c
358
sprintf(envstr, "PATH=%s", _PATH_DEFPATH);
usr.sbin/cron/lib/entry.c
368
sprintf(envstr, "%s=%s", "LOGNAME", pw->pw_name);
usr.sbin/cron/lib/entry.c
378
sprintf(envstr, "%s=%s", "USER", pw->pw_name);
usr.sbin/cron/lib/env.c
178
sprintf(envstr, "%s=%s", name, val);
usr.sbin/cron/lib/misc.c
242
sprintf(pidfile, PIDFILE, PIDDIR);
usr.sbin/cron/lib/misc.c
246
sprintf(buf, "can't open or create %.64s: %s",
usr.sbin/cron/lib/misc.c
256
sprintf(buf, "can't lock %.64s, otherpid may be %d: %s",
usr.sbin/cron/lib/misc.c
461
sprintf(msg, "%s (%02d/%02d-%02d:%02d:%02d-%d) %s (%s)\n",
usr.sbin/cron/lib/misc.c
570
sprintf(dst, "\\%03o", ch);
usr.sbin/edquota/edquota.c
709
sprintf(buf, "%ju day%s", (uintmax_t)secs,
usr.sbin/edquota/edquota.c
713
sprintf(buf, "%ju hour%s", (uintmax_t)secs,
usr.sbin/edquota/edquota.c
717
sprintf(buf, "%ju minute%s", (uintmax_t)secs,
usr.sbin/edquota/edquota.c
720
sprintf(buf, "%ju second%s", (uintmax_t)secs,
usr.sbin/edquota/edquota.c
790
sprintf(usrname, "%s%s", qfextension[USRQUOTA], qfname);
usr.sbin/edquota/edquota.c
791
sprintf(grpname, "%s%s", qfextension[GRPQUOTA], qfname);
usr.sbin/edquota/edquota.c
809
sprintf(buf, "%s/%s.%s", fs->fs_file, qfname, qfextension[type]);
usr.sbin/fdformat/fdformat.c
201
sprintf(msgbuf, "unexcpted interrupt code %#x",
usr.sbin/inetd/builtins.c
210
sprintf(buffer, "%.24s\r\n", ctime(&now));
usr.sbin/inetd/builtins.c
223
sprintf(buffer, "%.24s\r\n", ctime(&now));
usr.sbin/inetd/inetd.c
1879
sprintf(buf, "%s [%s]", a, pbuf);
usr.sbin/inetd/inetd.c
1881
sprintf(buf, "%s", a);
usr.sbin/installer/dfuife_curses/curses_util.c
228
sprintf(b, "[%77s]", s);
usr.sbin/installer/dfuife_curses/curses_util.c
239
sprintf(b, "[%06d]", i);
usr.sbin/installer/dfuife_curses/curses_util.c
250
sprintf(b, "[%06d] %s", i, keyname(i));
usr.sbin/installer/dfuife_curses/curses_util.c
261
sprintf(b, "[%09.3f]", f);
usr.sbin/kbdmap/kbdmap.c
567
sprintf(filename, "%s/INDEX.%s", dir, extract_name(dir));
usr.sbin/lpr/common_source/displayq.c
224
sprintf(cp, " %d", requ[i]);
usr.sbin/lpr/lpd/lpd.c
284
sprintf(line, "%u\n", getpid());
usr.sbin/lpr/lpd/printjob.c
1109
sprintf(buf, "%c%jd %s\n", type, (intmax_t)stb.st_size, file);
usr.sbin/lpr/lpd/printjob.c
1111
sprintf(buf, "%c%jd %s_c%d\n", type, (intmax_t)stb.st_size,
usr.sbin/lpr/lpd/printjob.c
1592
sprintf(&width[2], "%ld", pp->page_width);
usr.sbin/lpr/lpd/printjob.c
1593
sprintf(&length[2], "%ld", pp->page_length);
usr.sbin/lpr/lpd/printjob.c
1594
sprintf(&pxwidth[2], "%ld", pp->page_pwidth);
usr.sbin/lpr/lpd/printjob.c
1595
sprintf(&pxlength[2], "%ld", pp->page_plength);
usr.sbin/lpr/lpd/printjob.c
203
sprintf(line, "%u\n", printpid);
usr.sbin/lpr/lpd/printjob.c
379
sprintf(&width[2], "%ld", pp->page_width);
usr.sbin/makefs/cd9660/iso9660_rrip.c
677
sprintf(p->attr.rr_entry.NM.altname, "%s", file_node->isoDirRecord->name);
usr.sbin/mfiutil/mfi_cmd.c
162
sprintf(buf, "LVL 0x%02x", primary_level);
usr.sbin/mfiutil/mfi_drive.c
154
sprintf(buf, "PSTATE 0x%04x", state);
usr.sbin/mfiutil/mfi_show.c
277
sprintf(buf, "%s%s", mfi_pdstate(info->fw_state), foreign_state);
usr.sbin/mfiutil/mfi_volume.c
59
sprintf(buf, "LSTATE 0x%02x", state);
usr.sbin/mlxcontrol/command.c
392
sprintf(buf, " model 0x%x", enq.me_hardware_id & 0xff);
usr.sbin/mlxcontrol/util.c
49
sprintf(buf, "%s%s", _PATH_DEV, ctrlrname(unit));
usr.sbin/mlxcontrol/util.c
59
sprintf(buf, "mlx%d", unit);
usr.sbin/mlxcontrol/util.c
69
sprintf(buf, "%s%s", _PATH_DEV, drivename(unit));
usr.sbin/mlxcontrol/util.c
79
sprintf(buf, "mlxd%d", unit);
usr.sbin/moused/moused.c
2897
sprintf(s, "%02X", sum & 0x0ff);
usr.sbin/mptutil/mpt_cmd.c
266
sprintf(buf, "LVL 0x%02x", VolumeType);
usr.sbin/mptutil/mpt_drive.c
78
sprintf(buf, "PSTATE 0x%02x", info->PhysDiskStatus.State);
usr.sbin/mptutil/mpt_volume.c
61
sprintf(buf, "VSTATE 0x%02x", State);
usr.sbin/ndp/ndp.c
1518
p += sprintf(p, "%dd", days);
usr.sbin/ndp/ndp.c
1522
p += sprintf(p, "%dh", hours);
usr.sbin/ndp/ndp.c
1526
p += sprintf(p, "%dm", mins);
usr.sbin/ndp/ndp.c
1528
sprintf(p, "%ds", secs);
usr.sbin/ndp/ndp.c
799
sprintf(ebuf, "%x:%x:%x:%x:%x:%x",
usr.sbin/ndp/ndp.c
802
sprintf(ebuf, "(incomplete)");
usr.sbin/ppp/chap.c
604
sprintf(buf, "E=691 R=1 M=Invalid!");
usr.sbin/ppp/chap.c
610
ptr += sprintf(buf, "E=691 R=0 C=");
usr.sbin/ppp/chap.c
612
ptr += sprintf(ptr, "%02X", *(auth2chap(authp)->challenge.local+1+i));
usr.sbin/ppp/chap.c
614
sprintf(ptr, " V=3 M=Invalid!");
usr.sbin/ppp/datalink.c
1437
n = sprintf(name, "%.*s-", dl->name[f] == '-' ? f : f + 1, dl->name);
usr.sbin/ppp/datalink.c
1438
sprintf(name + n, "%d", atoi(dl->name + f + 1) + 1);
usr.sbin/ppp/deflate.c
439
sprintf(disp, "win %d", (o->data[0]>>4) + 8);
usr.sbin/ppp/ether.c
529
sprintf(path, "%.*s:", (int)ifacelen, iface);
usr.sbin/ppp/lcp.c
1234
sprintf(desc+(pos<<1)+1, "%02x", opt->data[pos]);
usr.sbin/ppp/log.c
370
sprintf(b, " %02x", (int) *ptr);
usr.sbin/ppp/log.c
405
sprintf(b, " %02x", (int) *ptr);
usr.sbin/ppp/mp.c
907
sprintf(result, "Null Class");
usr.sbin/ppp/mp.c
919
sprintf(result, "IP[%zu] ???", len);
usr.sbin/ppp/mp.c
928
sprintf(result, "MAC[%zu] ???", len);
usr.sbin/ppp/mp.c
932
sprintf(result, "Magic: 0x");
usr.sbin/ppp/mp.c
937
sprintf(result + header + 2 * f, "%02x", address[f]);
usr.sbin/ppp/mp.c
945
sprintf(result, "%d: ", (int)c);
usr.sbin/ppp/mp.c
950
sprintf(result + header + 2 * f, "%02x", address[f]);
usr.sbin/ppp/route.c
130
sprintf(buf+f*3, "%02x:", MAC[f]);
usr.sbin/ppp/route.c
135
sprintf(buf, "<IFT type %d>", dl->sdl_type);
usr.sbin/ppp/route.c
137
sprintf(buf, "<slen %d?>", dl->sdl_slen);
usr.sbin/ppp/route.c
139
sprintf(buf, "link#%d", dl->sdl_index);
usr.sbin/ppp/route.c
143
sprintf(buf, "<AF type %d>", phost->sa_family);
usr.sbin/ppp/tun.c
98
sprintf(ifr.ifr_name, "tun%d", bundle->unit);
usr.sbin/pppctl/pppctl.c
125
sprintf(Buffer, "passwd %s\n", passwd);
usr.sbin/pw/grupd.c
100
l = sprintf(*buf, "%s:*:%ld:", grp->gr_name, (long) grp->gr_gid);
usr.sbin/pw/grupd.c
102
l = sprintf(*buf, "%s:%s:%ld:", grp->gr_name, grp->gr_passwd, (long) grp->gr_gid);
usr.sbin/pw/grupd.c
108
l += sprintf(*buf + l, "%s%s", i ? "," : "", grp->gr_mem[i]);
usr.sbin/pw/pw_conf.c
425
sprintf(buf, "%04o", config.homemode);
usr.sbin/pw/pw_conf.c
468
sprintf(buf, "%lu", (unsigned long) config.min_uid);
usr.sbin/pw/pw_conf.c
472
sprintf(buf, "%lu", (unsigned long) config.max_uid);
usr.sbin/pw/pw_conf.c
476
sprintf(buf, "%lu", (unsigned long) config.min_gid);
usr.sbin/pw/pw_conf.c
480
sprintf(buf, "%lu", (unsigned long) config.max_gid);
usr.sbin/pw/pw_conf.c
484
sprintf(buf, "%d", config.expire_days);
usr.sbin/pw/pw_conf.c
488
sprintf(buf, "%d", config.password_days);
usr.sbin/pw/pw_log.c
56
sprintf(nfmt + strlen(nfmt), "[%s:%s%s] %s\n", name, Which[which], Modes[mode], fmt);
usr.sbin/pw/pw_nis.c
42
int l = sprintf(pfx, "%s:", user);
usr.sbin/pw/pw_user.c
1231
sprintf(tmp, "/usr/bin/atrm %s", e->d_name);
usr.sbin/pw/pw_user.c
382
sprintf(file, "/var/cron/tabs/%s", pwd->pw_name);
usr.sbin/pw/pw_user.c
384
sprintf(file, "crontab -u %s -r", pwd->pw_name);
usr.sbin/pw/pw_user.c
392
sprintf(file, "%s/%s", _PATH_MAILDIR, pwd->pw_name);
usr.sbin/pw/pw_user.c
745
sprintf(line, "%s/%s", _PATH_MAILDIR, pwd->pw_name);
usr.sbin/pw/pw_user.c
888
sprintf(tmp, "%lu", (unsigned long) prefer);
usr.sbin/pw/pw_user.c
959
sprintf(home, "%s/%s", cnf->home, user);
usr.sbin/pw/pw_user.c
982
sprintf(shellpath, "%s/%s", p, sh);
usr.sbin/pw/pw_user.c
987
sprintf(shellpath, "%s/%s", p, shells[i]);
usr.sbin/pw/pwupd.c
115
l = sprintf(buf, "%s:*:%ld:%ld:%s:%s:%s\n",
usr.sbin/pw/pwupd.c
120
l = sprintf(buf, "%s:%s:%ld:%ld:%s:%lu:%lu:%s:%s:%s\n",
usr.sbin/pw/rm_r.c
52
sprintf(file, "%s/%s", dir, e->d_name);
usr.sbin/quot/quot.c
250
sprintf(usr->name,"#%d",uid);
usr.sbin/quot/quot.c
575
sprintf(dev,"%s%s",_PATH_DEV,nm + 1);
usr.sbin/quotaon/quotaon.c
197
sprintf(usrname, "%s%s", qfextension[USRQUOTA], qfname);
usr.sbin/quotaon/quotaon.c
198
sprintf(grpname, "%s%s", qfextension[GRPQUOTA], qfname);
usr.sbin/quotaon/quotaon.c
216
sprintf(buf, "%s/%s.%s", fs->fs_file, qfname, qfextension[type]);
usr.sbin/rarpd/rarpd.c
351
sprintf(device, "/dev/bpf%d", n++);
usr.sbin/rarpd/rarpd.c
548
sprintf(ipname, "%08X", (in_addr_t)ntohl(addr));
usr.sbin/rarpd/rarpd.c
883
sprintf(buf, "%x:%x:%x:%x:%x:%x",
usr.sbin/repquota/repquota.c
278
sprintf(usrname, "%s%s", qfextension[USRQUOTA], qfname);
usr.sbin/repquota/repquota.c
279
sprintf(grpname, "%s%s", qfextension[GRPQUOTA], qfname);
usr.sbin/repquota/repquota.c
297
sprintf(buf, "%s/%s.%s", fs->fs_file, qfname, qfextension[type]);
usr.sbin/repquota/repquota.c
344
sprintf(fup->fu_name, "%lu", id);
usr.sbin/repquota/repquota.c
369
sprintf(buf, "%lddays", (long)(hours + 12) / 24);
usr.sbin/repquota/repquota.c
373
sprintf(buf, "%2ld:%ld", (long)minutes / 60,
usr.sbin/repquota/repquota.c
377
sprintf(buf, "%2ld", (long)minutes);
usr.sbin/rmt/rmt.c
146
sprintf(resp, "A%d\n", rval);
usr.sbin/rmt/rmt.c
172
sprintf(resp, "A%d\n", rval);
usr.sbin/rmt/rmt.c
190
sprintf(resp, "A%d\n", rval);
usr.sbin/rpc.ypupdated/update.c
101
sprintf(updater, "make -s -f %s/%s %s", YPDBPATH, /* !!! */
usr.sbin/rpc.ypupdated/update.c
176
sprintf(com, "exec %s", command);
usr.sbin/rpc.ypupdated/update.c
258
sprintf(tmpname, "%s.tmp", filename);
usr.sbin/rtadvctl/rtadvctl.c
318
sprintf(argv_disable, "%s:disable=", argv[i]);
usr.sbin/rtadvctl/rtadvctl.c
339
sprintf(argv_enable, "%s:enable=", argv[i]);
usr.sbin/rtadvctl/rtadvctl.c
362
sprintf(argv_reload, "%s:reload=", argv[i]);
usr.sbin/rtadvctl/rtadvctl.c
458
sprintf(errmsgbuf, "invalid interface %s",
usr.sbin/rtadvctl/rtadvctl.c
481
sprintf(argv_ifi, "%s:ifi=", ifi->ifi_ifname);
usr.sbin/rtadvctl/rtadvctl.c
548
sprintf(argv_rai, "%s:rai=", ifi->ifi_ifname);
usr.sbin/rtadvctl/rtadvctl.c
599
sprintf(argv_ifi_ra_timer, "%s:ifi_ra_timer=",
usr.sbin/rtadvctl/rtadvctl.c
631
sprintf(argv_rti, "%s:rti=", ifi->ifi_ifname);
usr.sbin/rtadvctl/rtadvctl.c
647
sprintf(argv_pfx, "%s:pfx=", ifi->ifi_ifname);
usr.sbin/rtadvctl/rtadvctl.c
665
sprintf(argv_rdnss, "%s:rdnss=", ifi->ifi_ifname);
usr.sbin/rtadvctl/rtadvctl.c
680
sprintf(argv_dnssl, "%s:dnssl=", ifi->ifi_ifname);
usr.sbin/rtadvd/dump.c
92
sprintf(ebuf, "%x:%x:%x:%x:%x:%x",
usr.sbin/rtadvd/dump.c
96
sprintf(ebuf, "NONE");
usr.sbin/rtadvd/timer_subr.c
81
p += sprintf(p, "%" PRIu32 "d", day);
usr.sbin/rtadvd/timer_subr.c
83
p += sprintf(p, "%" PRIu32 "h", hour);
usr.sbin/rtadvd/timer_subr.c
85
p += sprintf(p, "%" PRIu32 "m", min);
usr.sbin/rtadvd/timer_subr.c
88
sprintf(p, "%" PRIu32 "s", sec);
usr.sbin/rtsold/dump.c
128
p += sprintf(p, "%dd", days);
usr.sbin/rtsold/dump.c
132
p += sprintf(p, "%dh", hours);
usr.sbin/rtsold/dump.c
136
p += sprintf(p, "%dm", mins);
usr.sbin/rtsold/dump.c
138
sprintf(p, "%ds", secs);
usr.sbin/sliplogin/sliplogin.c
115
sprintf(address, "%hu.%hu.%hu.%hu",
usr.sbin/sliplogin/sliplogin.c
330
sprintf(ifr.ifr_name, "sl%d", _unit);
usr.sbin/sliplogin/sliplogin.c
455
sprintf(ifname, "sl%d", unit);
usr.sbin/sliplogin/sliplogin.c
456
sprintf(pidfilename, "%s%s.pid", _PATH_VARRUN, ifname);
usr.sbin/sliplogin/sliplogin.c
475
sprintf(iffilename, "%s%s.if", _PATH_VARRUN, &devnam[n]);
usr.sbin/slstat/slstat.c
93
sprintf(interface, INTERFACE_PREFIX, unit);
usr.sbin/slstat/slstat.c
98
sprintf(interface, INTERFACE_PREFIX, unit);
usr.sbin/sysvipcd/shmd.c
100
sprintf(filename, "%s/%s_%ld", DIRPATH, UNDO_NAME, key);
usr.sbin/sysvipcd/shmd.c
91
sprintf(filename, "%s/%s_%ld", DIRPATH, SHM_NAME, key);
usr.sbin/sysvipcd/shmd.c
94
sprintf(filename, "%s/%s_%ld", DIRPATH, SEM_NAME, key);
usr.sbin/sysvipcd/shmd.c
97
sprintf(filename, "%s/%s_%ld", DIRPATH, MSG_NAME, key);
usr.sbin/tzsetup/tzsetup.c
950
sprintf(path_zonetab, "%s/%s", chrootenv, _PATH_ZONETAB);
usr.sbin/tzsetup/tzsetup.c
951
sprintf(path_iso3166, "%s/%s", chrootenv, _PATH_ISO3166);
usr.sbin/tzsetup/tzsetup.c
952
sprintf(path_zoneinfo, "%s/%s", chrootenv, _PATH_ZONEINFO);
usr.sbin/tzsetup/tzsetup.c
953
sprintf(path_localtime, "%s/%s", chrootenv, _PATH_LOCALTIME);
usr.sbin/tzsetup/tzsetup.c
954
sprintf(path_db, "%s/%s", chrootenv, _PATH_DB);
usr.sbin/tzsetup/tzsetup.c
955
sprintf(path_wall_cmos_clock, "%s/%s", chrootenv,
usr.sbin/uefisign/uefisign.c
135
tmp += sprintf(tmp, "%02x", ch);
usr.sbin/watch/watch.c
241
sprintf(buf, "%s%s", _PATH_TTY, name);
usr.sbin/watch/watch.c
243
sprintf(buf, "%s%s", _PATH_DEV, name);
usr.sbin/ypbind/ypbind.c
209
sprintf(path, "%s/%s.%ld", BINDINGDIR,
usr.sbin/ypbind/ypbind.c
364
sprintf(path, "%s/%s.%ld", BINDINGDIR,
usr.sbin/ypbind/ypbind.c
417
sprintf(path,"%s/%s",BINDINGDIR,dirp->d_name);
usr.sbin/ypbind/ypbind.c
553
sprintf(path, "%s/%s.%ld", BINDINGDIR,
usr.sbin/ypbind/ypbind.c
586
sprintf(buf, "%s", broad_domain->dom_domain);
usr.sbin/ypbind/ypbind.c
854
sprintf(path, "%s/%s.%ld", BINDINGDIR,
usr.sbin/ypbind/ypbind.c
901
sprintf(path, "%s/%s.%ld", BINDINGDIR,
usr.sbin/ypserv/yp_dnslookup.c
508
qp += (size_t)sprintf(qp, "%x.%x.", uaddr[n] & 0xf,
usr.sbin/zic/zic.c
1441
sprintf(fullname, "%s/%s", directory, name);
usr.sbin/zic/zic.c
1685
else sprintf(abbr, format, letters);
usr.sbin/zic/zic.c
1739
sprintf(end(result), "%d", hours);
usr.sbin/zic/zic.c
1741
sprintf(end(result), ":%02d", minutes);
usr.sbin/zic/zic.c
1743
sprintf(end(result), ":%02d", seconds);
usr.sbin/zic/zic.c
1766
sprintf(result, "%d", total + rp->r_dayofmonth - 1);
usr.sbin/zic/zic.c
1768
sprintf(result, "J%d", total + rp->r_dayofmonth);
usr.sbin/zic/zic.c
1795
sprintf(result, "M%d.%d.%d",
usr.sbin/zic/zic.c
2411
sprintf(buf, "%s %d %s", yitcommand, year, type);