Index: boot/generic/src/str.c
===================================================================
--- boot/generic/src/str.c	(revision 64a617f6ba5e1f774278f10d16694f0f68506479)
+++ boot/generic/src/str.c	(revision e1c0260111c18cf291351f04dd1cc7118051fbdc)
@@ -354,6 +354,10 @@
  *
  * Do a char-by-char comparison of two NULL-terminated strings.
- * The strings are considered equal iff they consist of the same
- * characters on the minimum of their lengths.
+ * The strings are considered equal iff their length is equal
+ * and both strings consist of the same sequence of characters.
+ *
+ * A string is smaller than another string iff it is shorter or
+ * has a character with lower value at the first position where
+ * the strings differ.
  *
  * @param s1 First string to compare.
