diff options
author | Karel Zak | 2019-02-18 13:10:58 +0100 |
---|---|---|
committer | Karel Zak | 2019-02-18 13:10:58 +0100 |
commit | d135e1a1e355494d485241a782c02f823906c9e8 (patch) | |
tree | 03508267c00917691e301d39dd02c0f8e8fd0686 /misc-utils | |
parent | sfdisk: Avoid out of boundary read with readline (diff) | |
download | kernel-qcow2-util-linux-d135e1a1e355494d485241a782c02f823906c9e8.tar.gz kernel-qcow2-util-linux-d135e1a1e355494d485241a782c02f823906c9e8.tar.xz kernel-qcow2-util-linux-d135e1a1e355494d485241a782c02f823906c9e8.zip |
cal: fix Sexit and Senter
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils')
-rw-r--r-- | misc-utils/cal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/cal.c b/misc-utils/cal.c index bd643f3b4..bbb22505e 100644 --- a/misc-utils/cal.c +++ b/misc-utils/cal.c @@ -561,7 +561,7 @@ int main(int argc, char **argv) ; } else { /* disable */ - Senter = Sexit = '\0'; + Senter = ""; Sexit = ""; ctl.req.day = 0; ctl.weektype &= ~WEEK_NUM_MASK; } |