summaryrefslogtreecommitdiff
path: root/usr/src/cmd/format/io.h
diff options
context:
space:
mode:
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);