diff options
Diffstat (limited to 'libbcachefs.c')
-rw-r--r-- | libbcachefs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs.c b/libbcachefs.c index 16bcd0c6..73ea2d13 100644 --- a/libbcachefs.c +++ b/libbcachefs.c @@ -186,7 +186,7 @@ struct bch_sb *bch2_format(struct format_opts opts, struct timespec now; if (clock_gettime(CLOCK_REALTIME, &now)) - die("error getting current time: %s", strerror(errno)); + die("error getting current time: %m"); sb->time_base_lo = cpu_to_le64(now.tv_sec * NSEC_PER_SEC + now.tv_nsec); sb->time_precision = cpu_to_le32(1); |