Index: samples/lineprocessor.cc |
diff --git a/samples/lineprocessor.cc b/samples/lineprocessor.cc |
index 2e8092ee9a6f5ddd3bb44221e460d05f268ab680..804f167582a41b144e720035b19ca9a3bdc56cfc 100644 |
--- a/samples/lineprocessor.cc |
+++ b/samples/lineprocessor.cc |
@@ -410,7 +410,7 @@ v8::Handle<v8::String> ReadLine() { |
char* res; |
{ |
v8::Unlocker unlocker; |
- res = fgets(buffer, buffer_size, stdin); |
+ res = fgets(buffer, kBufferSize, stdin); |
} |
if (res == NULL) { |
v8::Handle<v8::Primitive> t = v8::Undefined(); |