diff options
author | Neil Brown <neilb@suse.de> | 2006-01-27 02:44:47 +0100 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-01-27 02:44:47 +0100 |
commit | 838acbc2724c57f9dc1facec201d20f09a81d375 (patch) | |
tree | 1a677a68c68492d43e7c870cd3193bd79fa35642 /bitmap.c | |
parent | uhm.. assort fixes, particularly for recovery offset... (diff) | |
download | mdadm-838acbc2724c57f9dc1facec201d20f09a81d375.tar.xz mdadm-838acbc2724c57f9dc1facec201d20f09a81d375.zip |
Assorted fixes...
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'bitmap.c')
-rw-r--r-- | bitmap.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -126,8 +126,13 @@ bitmap_info_t *bitmap_fd_read(int fd, int brief) info = malloc(sizeof(*info)); if (info == NULL) { +#if __GNUC__ < 3 + fprintf(stderr, Name ": failed to allocate %d bytes\n", + (int)sizeof(*info)); +#else fprintf(stderr, Name ": failed to allocate %zd bytes\n", sizeof(*info)); +#endif return NULL; } |