aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--noice.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/noice.c b/noice.c
index e61e820..8d6f0d7 100644
--- a/noice.c
+++ b/noice.c
@@ -223,7 +223,7 @@ begin:
cur = 0;
dents = NULL;
- dirp = opendir(path);
+ dirp = opendir(path);
if (dirp == NULL) {
printwarn();
goto nochange;
@@ -365,7 +365,7 @@ nochange:
path = pathnew;
goto out;
}
- /* Regular file */
+ /* Regular file */
if (S_ISREG(sb.st_mode)) {
/* Open with */
bin = openwith(name);
@@ -399,7 +399,7 @@ nochange:
out:
free(dents);
- r = closedir(dirp);
+ r = closedir(dirp);
if (r == -1)
printerr(1, "closedir");