diff options
author | cinap_lenrek <cinap_lenrek@rei2.9hal> | 2011-12-29 17:57:11 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@rei2.9hal> | 2011-12-29 17:57:11 +0100 |
commit | d09c46c352ca2595454c54b8d30aea1f0a0f6607 (patch) | |
tree | 1fdc206124ab8ab30b3e8c05cead9172dd1b577a /sys | |
parent | 272d76f2b1acac584ac654e64be1df2bec11a393 (diff) | |
parent | a0726e01ad6cc55ebaa78bbf42aa9532e3c10b78 (diff) |
merge
Diffstat (limited to 'sys')
-rw-r--r-- | sys/src/boot/pc/sub.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/src/boot/pc/sub.c b/sys/src/boot/pc/sub.c index 69027bf2d..470d31c39 100644 --- a/sys/src/boot/pc/sub.c +++ b/sys/src/boot/pc/sub.c @@ -66,17 +66,6 @@ strchr(char *s, int c) return 0; } -char* -strrchr(char *s, int c) -{ - char *r = 0; - - while(s = strchr(s, c)) - r = s++; - - return r; -} - void print(char *s) { @@ -264,7 +253,7 @@ Loop: print("no bootfile\r\n"); goto Loop; } - if(p = strrchr(kern, '!')) + while(p = strchr(kern, '!')) kern = p+1; return kern; |