lineedit: do not hang on error, but return error indicator.
[oweals/busybox.git] / libbb / find_root_device.c
index 9779f7e82d190d064782fdd38aba50522ca74e66..32c86cea8e1de22f9262a74b91c24653e27fd416 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
  *
- * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2 or later, see file LICENSE in this source tree.
  */
 
 #include "libbb.h"
@@ -62,7 +62,7 @@ static char *find_block_device_in_dir(struct arena *ap)
        return retpath;
 }
 
-char *find_block_device(const char *path)
+char* FAST_FUNC find_block_device(const char *path)
 {
        struct arena a;