From 743e936ee7ed4bed144dde7155952544e4a1ddac Mon Sep 17 00:00:00 2001 From: Tyler Dauwalder Date: Tue, 24 Sep 2002 05:30:20 +0000 Subject: [PATCH] Augmented a comment to include a note on string length requirements. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1151 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/storage/Volume.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/kits/storage/Volume.cpp b/src/kits/storage/Volume.cpp index 7b1d59e1dd..f6c6771cf6 100644 --- a/src/kits/storage/Volume.cpp +++ b/src/kits/storage/Volume.cpp @@ -271,6 +271,10 @@ BVolume::FreeBytes(void) const // GetName (public) // ---------------------------------------------------------------------- // Copies the name of the volume into the supplied buffer. +// +// The string pointed to by \a name must be long enough to +// hold the entire volume name. A length of B_PATH_NAME_LENGTH +// is safe and reccommended. status_t BVolume::GetName(