projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Mono.Posix] Add ToString to struct Linger to help troubleshoot CI failure.
[mono.git]
/
mcs
/
class
/
Mono.Posix
/
Mono.Unix.Native
/
Syscall.cs
diff --git
a/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs
b/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs
index 8b1246e617eb839c15ca494ea28e54d4566ebeb8..4125978df0c8371b3c21d2a86e7e00364e2f7e54 100644
(file)
--- a/
mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs
+++ b/
mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs
@@
-1414,6
+1414,11
@@
namespace Mono.Unix.Native {
public struct Linger {
public int l_onoff;
public int l_linger;
+
+ public override string ToString ()
+ {
+ return string.Format ("{0}, {1}", l_onoff, l_linger);
+ }
}
#endregion