code style

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
This commit is contained in:
Hiltjo Posthuma
2014-06-01 14:59:47 +02:00
committed by sin
parent 97ca7c8b6d
commit 953ebf3573
35 changed files with 58 additions and 94 deletions

View File

@@ -26,9 +26,8 @@ cp(const char *s1, const char *s2)
DIR *dp;
if (stat(s1, &st) == 0 && S_ISDIR(st.st_mode)) {
if (!cp_rflag) {
if (!cp_rflag)
eprintf("%s: is a directory\n", s1);
}
if(!(dp = opendir(s1)))
eprintf("opendir %s:", s1);

View File

@@ -7,9 +7,9 @@
mode_t
getumask(void)
{
mode_t mask = umask(0);
umask(mask);
return mask;
mode_t mask = umask(0);
umask(mask);
return mask;
}
mode_t