mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +03:00
Replace /*PRINTFLIKEn*/ with attribute(printf)
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Issue #12201
This commit is contained in:
+4
-2
@@ -1056,8 +1056,10 @@ extern uint64_t spa_dirty_data(spa_t *spa);
|
||||
extern spa_autotrim_t spa_get_autotrim(spa_t *spa);
|
||||
|
||||
/* Miscellaneous support routines */
|
||||
extern void spa_load_failed(spa_t *spa, const char *fmt, ...);
|
||||
extern void spa_load_note(spa_t *spa, const char *fmt, ...);
|
||||
extern void spa_load_failed(spa_t *spa, const char *fmt, ...)
|
||||
__attribute__((format(printf, 2, 3)));
|
||||
extern void spa_load_note(spa_t *spa, const char *fmt, ...)
|
||||
__attribute__((format(printf, 2, 3)));
|
||||
extern void spa_activate_mos_feature(spa_t *spa, const char *feature,
|
||||
dmu_tx_t *tx);
|
||||
extern void spa_deactivate_mos_feature(spa_t *spa, const char *feature);
|
||||
|
||||
+2
-1
@@ -52,7 +52,8 @@ extern int zfs_nocacheflush;
|
||||
|
||||
typedef boolean_t vdev_open_children_func_t(vdev_t *vd);
|
||||
|
||||
extern void vdev_dbgmsg(vdev_t *vd, const char *fmt, ...);
|
||||
extern void vdev_dbgmsg(vdev_t *vd, const char *fmt, ...)
|
||||
__attribute__((format(printf, 2, 3)));
|
||||
extern void vdev_dbgmsg_print_tree(vdev_t *, int);
|
||||
extern int vdev_open(vdev_t *);
|
||||
extern void vdev_open_children(vdev_t *);
|
||||
|
||||
Reference in New Issue
Block a user