aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/utime.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-10-28 13:21:06 -0700
committerElliott Hughes <enh@google.com>2013-10-28 13:21:06 -0700
commit27586ebe1a7f2f45651b855a26b3203d63d015d6 (patch)
treec1311b6ea1c32e15f7c7a9e3c81f1e0f78fa0737 /libc/include/utime.h
parentd4e9f076d621dcf6450acba178e65d63c076ae6e (diff)
downloadandroid_bionic-27586ebe1a7f2f45651b855a26b3203d63d015d6.tar.gz
android_bionic-27586ebe1a7f2f45651b855a26b3203d63d015d6.tar.bz2
android_bionic-27586ebe1a7f2f45651b855a26b3203d63d015d6.zip
Fix utime/utimes when passed a NULL pointer.
Bug: 11383777 Change-Id: If944a42f3adfa8a6ce91c167c249e009ed63300a
Diffstat (limited to 'libc/include/utime.h')
-rw-r--r--libc/include/utime.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/include/utime.h b/libc/include/utime.h
index fa7cd2f1b..3d72da4be 100644
--- a/libc/include/utime.h
+++ b/libc/include/utime.h
@@ -25,6 +25,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
+
#ifndef _UTIME_H_
#define _UTIME_H_
@@ -34,9 +35,8 @@
__BEGIN_DECLS
-extern int utime(const char *, const struct utimbuf *);
+extern int utime(const char*, const struct utimbuf*);
__END_DECLS
#endif /* _UTIME_H_ */
-