Skip to content

Commit 9f3c668

Browse files
float_second not float_seconds
1 parent 9a783fe commit 9f3c668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/ruby/core/process.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def self.clock_getres(id, unit=:float_second)
127127
end
128128

129129
if unit == :hertz then
130-
1.0 / nanoseconds_to_unit(res,:float_seconds)
130+
1.0 / nanoseconds_to_unit(res,:float_second)
131131
else
132132
nanoseconds_to_unit(res,unit)
133133
end

0 commit comments

Comments
 (0)