mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 20:36:38 -05:00
Remove the 0x usage in log files
This commit is contained in:
parent
4af4504515
commit
827eb2117e
3 changed files with 6 additions and 6 deletions
|
|
@ -658,7 +658,7 @@ static int devsmart(dev_t device, const char* name, const char* custom, uint64_t
|
|||
|
||||
ret = pclose(f);
|
||||
|
||||
msg_tag("smartctl:ret:%s 0x%x\n", name, ret);
|
||||
msg_tag("smartctl:ret:%s %x\n", name, ret);
|
||||
|
||||
if (!WIFEXITED(ret)) {
|
||||
/* LCOV_EXCL_START */
|
||||
|
|
@ -704,7 +704,7 @@ static int devdown(dev_t device, const char* name, const char* custom)
|
|||
|
||||
ret = system(cmd);
|
||||
|
||||
msg_tag("smartctl:ret:%s: 0x%x\n", name, ret);
|
||||
msg_tag("smartctl:ret:%s: %x\n", name, ret);
|
||||
|
||||
if (ret == -1) {
|
||||
/* LCOV_EXCL_START */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue