]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(format_address_paren): c is optional, so don't output it if it's '\0'.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 28 Sep 2004 01:09:03 +0000 (01:09 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 28 Sep 2004 01:09:03 +0000 (01:09 +0000)
src/od.c

index 0343cd7895f585c1705a096801a45db1154fa621..dc9ae1f9c44b03913b063285889e5678e0c023ea 100644 (file)
--- a/src/od.c
+++ b/src/od.c
@@ -1138,7 +1138,8 @@ format_address_paren (uintmax_t address, char c)
 {
   putchar ('(');
   format_address_std (address, ')');
-  putchar (c);
+  if (c)
+    putchar (c);
 }
 
 static void