diff options
-rw-r--r-- | lib/quotearg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/quotearg.c b/lib/quotearg.c index b5fa7355d..4f21abb1c 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -258,8 +258,8 @@ quotearg_buffer (char *buffer, size_t buffersize, { STORE ('\\'); STORE ('0' + (c >> 6)); - STORE ('0' + ((c >> 3) & 3)); - c = '0' + (c & 3); + STORE ('0' + ((c >> 3) & 7)); + c = '0' + (c & 7); goto store_c; } break; |