summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-07-05 17:09:34 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-07-05 17:09:34 (EDT)
commitb02e24a1e51e34f4bccb9094fbaa6801802b12ac (patch)
treefe4e062a0f87bf5bee9f011b57a138400699ef79
parent5f56951575d3c79e7869df6b9d62d2985f4a4df8 (diff)
mknod: Improve layout of specials file
-rw-r--r--helpers/mknod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/mknod.c b/helpers/mknod.c
index 820dd31..9e40080 100644
--- a/helpers/mknod.c
+++ b/helpers/mknod.c
@@ -296,8 +296,8 @@ main(int argc, char *argv[])
}
}
- if (fprintf(specials_file, "%c %8ld %8ld %s\n", type, major, minor,
- name) < 0) {
+ if (fprintf(specials_file, "%c %8ld %8ld %s\n",
+ type, major, minor, name) < 0) {
_errno(_("Failed to write specials file"));
fclose(specials_file);
unlink(specials_lock_name);