summaryrefslogtreecommitdiffstats
path: root/misc-utils/look.c
diff options
context:
space:
mode:
authorSami Kerola2012-07-14 23:50:15 +0200
committerKarel Zak2012-07-16 18:18:21 +0200
commitfad05c68e6f00e699be94794acd100c1916a6716 (patch)
tree6fdf676bf81ea3cc3d4f55021206d8139bb473d2 /misc-utils/look.c
parentutmpdump: remove unused variable (diff)
downloadkernel-qcow2-util-linux-fad05c68e6f00e699be94794acd100c1916a6716.tar.gz
kernel-qcow2-util-linux-fad05c68e6f00e699be94794acd100c1916a6716.tar.xz
kernel-qcow2-util-linux-fad05c68e6f00e699be94794acd100c1916a6716.zip
look: remove extra semicolon
The both macro SKIP_PAST_NEWLINE and location where macro is used will not need semicolon at the end of line. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'misc-utils/look.c')
-rw-r--r--misc-utils/look.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/look.c b/misc-utils/look.c
index de231c96e..351d0072a 100644
--- a/misc-utils/look.c
+++ b/misc-utils/look.c
@@ -243,7 +243,7 @@ look(char *front, char *back)
* more trouble than it's worth.
*/
#define SKIP_PAST_NEWLINE(p, back) \
- while (p < back && *p++ != '\n');
+ while (p < back && *p++ != '\n')
char *
binary_search(char *front, char *back)