summaryrefslogtreecommitdiff
path: root/usr/src/cmd/format/io.h
diff options
context:
space:
mode:
authorDan McDonald <danmcd@mnx.io>2022-05-18 13:12:23 -0400
committerDan McDonald <danmcd@mnx.io>2022-05-18 13:12:23 -0400
commit645c3a589af77ee8ceefd661ef71763341ee52ad (patch)
treef28ddf1de044c393e18a227aa5549fae235fb6fe /usr/src/cmd/format/io.h
parentbaac7cebc69e995ea935f1318f395a564ef90eed (diff)
parentca0df52a1ec24f9498f363369c65d0e408d579b1 (diff)
downloadillumos-joyent-release-20220519.tar.gz
[illumos-gate merge]release-20220519
commit ca0df52a1ec24f9498f363369c65d0e408d579b1 14689 blkdev GUID support commit ecc39deb3ff51afe175edd847dcffb926c47a239 14695 format: input() feedback should be more verbose commit 6328d71e9dd97ed4dfdf9425b5dc7b9deb6f579a 14454 sys/debug.h: CTASSERT should use _Static_assert commit b602cbcd64fbbebf696bd7c8e03367bdfa19805d 14696 nvmeadm command dumps core when libumem.so is used commit 9f7719e79a5c2ccdc9ee6a14147ba723fb8c0e36 14643 ::dtrace dcmd can truncate output
Diffstat (limited to 'usr/src/cmd/format/io.h')
-rw-r--r--usr/src/cmd/format/io.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/cmd/format/io.h b/usr/src/cmd/format/io.h
index e20c719c02..7450a37a0f 100644
--- a/usr/src/cmd/format/io.h
+++ b/usr/src/cmd/format/io.h
@@ -106,10 +106,10 @@ int geti(char *str, int *iptr, int *wild);
uint64_t input(int, char *, int, u_ioparam_t *, int *, int);
int find_value(slist_t *slist, char *match_str, int *match_value);
char *find_string(slist_t *slist, int match_value);
-void fmt_print(char *format, ...);
-void nolog_print(char *format, ...);
-void log_print(char *format, ...);
-void err_print(char *format, ...);
+void fmt_print(char *format, ...) __PRINTFLIKE(1);
+void nolog_print(char *format, ...) __PRINTFLIKE(1);
+void log_print(char *format, ...) __PRINTFLIKE(1);
+void err_print(char *format, ...) __PRINTFLIKE(1);
void print_buf(char *buf, int nbytes);
void pr_diskline(struct disk_info *disk, int num);
void pr_dblock(void (*func)(char *, ...), diskaddr_t bn);