mirror of
https://repo.or.cz/socat.git
synced 2025-07-16 08:03:24 +00:00
improved dev_t print format definition
This commit is contained in:
parent
eccce7542e
commit
abb25c1427
6 changed files with 33 additions and 30 deletions
2
filan.c
2
filan.c
|
@ -263,7 +263,7 @@ int filan_stat(
|
|||
headprinted = 1;
|
||||
}
|
||||
if (filan_rawoutput) {
|
||||
snprintf(stdevstr, 8, F_st_dev, buf->st_dev);
|
||||
snprintf(stdevstr, 8, F_dev, buf->st_dev);
|
||||
} else {
|
||||
snprintf(stdevstr, 8, "%hu,%hu", (unsigned short)buf->st_dev>>8, (unsigned short)buf->st_dev&0xff);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue