mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
- Add USE_LDCONFIG when SHARED is enabled. - Use OPTIONS_SUB. - Use {opt}_FOO wherever possible. - Normalize patch files. - Take maintainership.
15 lines
478 B
C++
15 lines
478 B
C++
--- policy/backend/single_varrw.cc.orig 2012-01-11 17:56:10 UTC
|
|
+++ policy/backend/single_varrw.cc
|
|
@@ -70,7 +70,11 @@ SingleVarRW::read(const Id& id)
|
|
|
|
// out of luck...
|
|
if(!e)
|
|
- xorp_throw(SingleVarRWErr, "Unable to read variable " + id);
|
|
+ // xorp_throw(SingleVarRWErr, "Unable to read variable " + id);
|
|
+ { char *tmpstr;
|
|
+ asprintf(&tmpstr, "Unable to read variable %d", id);
|
|
+ xorp_throw(SingleVarRWErr, tmpstr);
|
|
+ }
|
|
}
|
|
|
|
return *e;
|