summaryrefslogtreecommitdiff
path: root/sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'sh.c')
-rw-r--r--sh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh.c b/sh.c
index 382db8f..6aa8824 100644
--- a/sh.c
+++ b/sh.c
@@ -41,7 +41,7 @@ int _gettoken(char *s, char **p1, char **p2);
int
main(void)
{
- while(getcmd(buf, sizeof buf) >= 0) {
+ while(getcmd(buf, sizeof(buf)) >= 0) {
if(parse(buf) >= 0)
runcmd();
}