mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-27 04:32:16 +03:00
libzfs: use zfs_strerror() in place of strerror()
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de> Signed-off-by: Richard Kojedzinszky <richard@kojedz.in> Closes #15793
This commit is contained in:
committed by
Tony Hutter
parent
18c8abc8aa
commit
a1ea40af86
@@ -212,7 +212,7 @@ libzfs_error_init(int error)
|
||||
msglen -= len;
|
||||
}
|
||||
|
||||
(void) snprintf(msg, msglen, "%s", strerror(error));
|
||||
(void) snprintf(msg, msglen, "%s", zfs_strerror(error));
|
||||
|
||||
return (errbuf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user