summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-07-16 22:20:31 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-07-16 22:20:31 +0000
commitd7588f1fa9d007184163fe5863f87be41d659177 (patch)
tree2194cc994b2297da27b78b20bcbe29120457ce3a
parent8b000a20cc367c727b9f2c0d8e68372d0c9df995 (diff)
downloadskalibs-d7588f1fa9d007184163fe5863f87be41d659177.tar.xz
Typo fix in touch.c
-rw-r--r--src/libstddjb/touch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/touch.c b/src/libstddjb/touch.c
index f71a983..dc0c3cf 100644
--- a/src/libstddjb/touch.c
+++ b/src/libstddjb/touch.c
@@ -33,7 +33,7 @@ int touch (char const *file)
if (fd < 0) return 0 ;
r = futimes(fd, 0) >= 0 ;
fd_close(fd) ;
- return 1 ;
+ return r ;
}
#else