kdb: Corrects comment for kdballocenv
[linux-2.6-block.git] / kernel / debug / kdb / kdb_main.c
index 438b868cbfa9228fde28eb95375ec9b7218ff136..6b213c8252d62df7a30dd2b0f861e6bb1895be36 100644 (file)
@@ -272,11 +272,10 @@ char *kdbgetenv(const char *match)
  * kdballocenv - This function is used to allocate bytes for
  *     environment entries.
  * Parameters:
- *     match   A character string representing a numeric value
- * Outputs:
- *     *value  the unsigned long representation of the env variable 'match'
+ *     bytes   The number of bytes to allocate in the static buffer.
  * Returns:
- *     Zero on success, a kdb diagnostic on failure.
+ *     A pointer to the allocated space in the buffer on success.
+ *     NULL if bytes > size available in the envbuffer.
  * Remarks:
  *     We use a static environment buffer (envbuffer) to hold the values
  *     of dynamically generated environment variables (see kdb_set).  Buffer