diff options
author | hunt <hunt> | 2005-08-19 11:46:52 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-08-19 11:46:52 +0000 |
commit | 109a69c7a20af595d908fb75644b66f562b2bfcc (patch) | |
tree | b2dd3ddf25976deb346ffdecb6cff9f4d6c08414 /runtime/transport/procfs.c | |
parent | 2971b830c3389c5ba004b67f928d4737b6cebcbe (diff) | |
download | systemtap-steved-109a69c7a20af595d908fb75644b66f562b2bfcc.tar.gz systemtap-steved-109a69c7a20af595d908fb75644b66f562b2bfcc.tar.xz systemtap-steved-109a69c7a20af595d908fb75644b66f562b2bfcc.zip |
Fix typo.
Diffstat (limited to 'runtime/transport/procfs.c')
-rw-r--r-- | runtime/transport/procfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/transport/procfs.c b/runtime/transport/procfs.c index a091a88e..2e0e8e6c 100644 --- a/runtime/transport/procfs.c +++ b/runtime/transport/procfs.c @@ -1,4 +1,4 @@ -/* -*- linux-c -*- */ +/* -*- linux-c -*- * * /proc transport and control * Copyright (C) 2005 Red Hat Inc. @@ -215,8 +215,8 @@ static int _stp_set_buffers(int num) printk("stp_set_buffers %d\n", num); if (num == 0 || num == _stp_current_buffers) - return _stp_current_buffers;; - + return _stp_current_buffers; + spin_lock(&_stp_pool_lock); if (num > _stp_current_buffers) { for (i = 0; i < num - _stp_current_buffers; i++) { |