summaryrefslogtreecommitdiff
path: root/kern/lock_mon.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-09-11 12:27:48 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-11 22:13:30 +0200
commitcbe805c2122b8b46b1fbe7c6b1d8f69cd22fb901 (patch)
tree4f8adc1629d21605debce784160c0ac02f8536f0 /kern/lock_mon.c
parent67f3956f39046e6d284c8479dc096f297a271dad (diff)
track the console buffer usage with a boolean instead of an int
A variable that keeps track of the console buffer usage should never receive values other than 0 and 1, so constrain it's value range to boolean. Plus, it's more readable this way. * device/cons.c (consbufused): Use boolean_t instead of an int.
Diffstat (limited to 'kern/lock_mon.c')
0 files changed, 0 insertions, 0 deletions