From: ccooper Date: Mon, 19 Apr 2004 14:29:47 +0000 (+0000) Subject: - fix syntax error X-Git-Tag: 1.2.2~85 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=b1c0f8690a6141c35b37eb1768598314ba020d4c;p=fs%2Flustre-release.git - fix syntax error --- diff --git a/lnet/libcfs/debug.c b/lnet/libcfs/debug.c index aaf5827..519db0e 100644 --- a/lnet/libcfs/debug.c +++ b/lnet/libcfs/debug.c @@ -1003,7 +1003,7 @@ extern int lookup_symbol(unsigned long address, char *buf, int buflen); const char *kallsyms_lookup(unsigned long addr, unsigned long *symbolsize, unsigned long *offset, - char **modname, char *namebuf); + char **modname, char *namebuf) { int rc = lookup_symbol(addr, namebuf, 128); if (rc == -ENOSYS) diff --git a/lustre/portals/libcfs/debug.c b/lustre/portals/libcfs/debug.c index aaf5827..519db0e 100644 --- a/lustre/portals/libcfs/debug.c +++ b/lustre/portals/libcfs/debug.c @@ -1003,7 +1003,7 @@ extern int lookup_symbol(unsigned long address, char *buf, int buflen); const char *kallsyms_lookup(unsigned long addr, unsigned long *symbolsize, unsigned long *offset, - char **modname, char *namebuf); + char **modname, char *namebuf) { int rc = lookup_symbol(addr, namebuf, 128); if (rc == -ENOSYS)