summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-28 13:47:07 +0100
committerMattias Andrée <m@maandree.se>2026-02-28 13:47:07 +0100
commit0a8b3e08720f5a440e706743559c135c3656ccf3 (patch)
tree61cfdfb388e823942f2e1e903d3ef782a046f319
parentmisc fixes (diff)
downloadlibsyscalls-master.tar.gz
libsyscalls-master.tar.bz2
libsyscalls-master.tar.xz
Fix typoHEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
-rw-r--r--linux/symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/symbols.c b/linux/symbols.c
index 5cc848d..b7c3b77 100644
--- a/linux/symbols.c
+++ b/linux/symbols.c
@@ -151,7 +151,7 @@ extract_linux_symbol_dev(struct libsyscalls_symbol_printer_data *data, unsigned
minor2 = (value & minor2) / LOWEST_BIT(minor2);
major = major1 | major2;
- minor = minor1 | minor1;
+ minor = minor1 | minor2;
sprintf(data->buf, "%llu (%llu:%llu)", value, major, minor);
return data->buf;