mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +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
Brian Behlendorf
parent
692f0daba3
commit
401c3563d4
@@ -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