summaryrefslogtreecommitdiff
path: root/ufs-fsck
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-02 03:19:38 +0000
committerMiles Bader <miles@gnu.org>1996-05-02 03:19:38 +0000
commitb30dead62e576070198ade84a184e1f8ac330bc0 (patch)
tree67bc652b7f96d73c72e2f16fc332ebdc71e5de60 /ufs-fsck
parentb29d960189ef35dc14fa2dc21fefb3462528e260 (diff)
(linkup): Consistently put quotes around filenames.
Diffstat (limited to 'ufs-fsck')
-rw-r--r--ufs-fsck/dir.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/ufs-fsck/dir.c b/ufs-fsck/dir.c
index 18fcd699..1a693c42 100644
--- a/ufs-fsck/dir.c
+++ b/ufs-fsck/dir.c
@@ -441,12 +441,12 @@ linkup (ino_t ino, ino_t parent)
{
if (!searchdir (ROOTINO, lfname, &lfdir))
{
- warning (1, "FAILURE SEARCHING FOR %s", lfname);
+ warning (1, "FAILURE SEARCHING FOR `%s'", lfname);
return 0;
}
if (lfdir == 0)
{
- problem (0, "NO %s DIRECTORY", lfname);
+ problem (0, "NO `%s' DIRECTORY", lfname);
if (preen || reply ("CREATE"))
{
lfdir = allocdir (ROOTINO, 0, lfmode);
@@ -465,7 +465,7 @@ linkup (ino_t ino, ino_t parent)
else
{
pfail (0);
- warning (1, "SORRY, CANNOT CREATE %s DIRECTORY", lfname);
+ warning (1, "SORRY, CANNOT CREATE `%s' DIRECTORY", lfname);
return 0;
}
}
@@ -476,7 +476,7 @@ linkup (ino_t ino, ino_t parent)
{
ino_t oldlfdir;
- problem (1, "%s IS NOT A DIRECTORY", lfname);
+ problem (1, "`%s' IS NOT A DIRECTORY", lfname);
if (! reply ("REALLOCATE"))
return 0;
@@ -485,12 +485,12 @@ linkup (ino_t ino, ino_t parent)
lfdir = allocdir (ROOTINO, 0, lfmode);
if (!lfdir)
{
- warning (1, "SORRY, CANNOT CREATE %s DIRECTORY", lfname);
+ warning (1, "SORRY, CANNOT CREATE `%s' DIRECTORY", lfname);
return 0;
}
if (!changeino (ROOTINO, lfname, lfdir))
{
- warning (1, "SORRY, CANNOT CREATE %s DIRECTORY", lfname);
+ warning (1, "SORRY, CANNOT CREATE `%s' DIRECTORY", lfname);
return 0;
}
@@ -502,7 +502,7 @@ linkup (ino_t ino, ino_t parent)
if (inodestate[lfdir] != DIRECTORY && inodestate[lfdir] != (DIRECTORY|DIR_REF))
{
- warning (1, "SORRY. %s DIRECTORY NOT ALLOCATED", lfname);
+ warning (1, "SORRY. `%s' DIRECTORY NOT ALLOCATED", lfname);
return 0;
}
@@ -519,13 +519,13 @@ linkup (ino_t ino, ino_t parent)
if (search_failed)
{
free (tempname);
- warning (1, "FAILURE SEARCHING FOR %s in %s", tempname, lfname);
+ warning (1, "FAILURE SEARCHING FOR `%s' IN `%s'", tempname, lfname);
return 0;
}
if (!makeentry (lfdir, ino, tempname))
{
free (tempname);
- warning (1, "SORRY, NO SPACE IN %s DIRECTORY", lfname);
+ warning (1, "SORRY, NO SPACE IN `%s' DIRECTORY", lfname);
return 0;
}
free (tempname);
@@ -538,7 +538,7 @@ linkup (ino_t ino, ino_t parent)
{
if (!changeino (ino, "..", lfdir))
{
- warning (1, "CANNOT ADJUST .. LINK I=%u", ino);
+ warning (1, "CANNOT ADJUST `..' LINK I=%u", ino);
return 0;
}
/* Forget about link to old parent */
@@ -546,7 +546,7 @@ linkup (ino_t ino, ino_t parent)
}
else if (!makeentry (ino, lfdir, ".."))
{
- warning (1, "CANNOT CREAT .. LINK I=%u", ino);
+ warning (1, "CANNOT CREAT `..' LINK I=%u", ino);
return 0;
}